MCPcopy Create free account
hub / github.com/MegEngine/MegEngine / bitcast

Method bitcast

imperative/python/megengine/xla/rules/hlotensor.py:161–164  ·  view source on GitHub ↗
(self, shape, dtype)

Source from the content-addressed store, hash-verified

159 return broadcast_to(self, shape, broadcast_dims)
160
161 def bitcast(self, shape, dtype):
162 from .elemwise import bitcast
163
164 return bitcast(self, shape, dtype)
165
166 def astype(self, dtype):
167 from .elemwise import typecvt

Callers 1

rng_uint_generatorFunction · 0.80

Calls 1

bitcastFunction · 0.85

Tested by

no test coverage detected