MCPcopy
hub / github.com/apache/tvm / dtype

Method dtype

python/tvm/relax/expr.py:267–270  ·  view source on GitHub ↗

Returns a proxy object for accessing DLTensor::dtype

(self)

Source from the content-addressed store, hash-verified

265
266 @property
267 def dtype(self) -> "_DLTensorDTypeProxy":
268 """Returns a proxy object for accessing DLTensor::dtype"""
269 self._check_for_tensor_struct_info()
270 return _DLTensorDTypeProxy(self)
271
272 @property
273 def ndim(self) -> "Expr":

Callers 15

dump_tensor_cacheFunction · 0.45
constFunction · 0.45
copyfromMethod · 0.45
numpyMethod · 0.45
emptyFunction · 0.45
test_save_load_float8Function · 0.45
entry_aMethod · 0.45
entry_bMethod · 0.45
mainMethod · 0.45
mainMethod · 0.45
mainMethod · 0.45
func1Method · 0.45

Calls 2

_DLTensorDTypeProxyClass · 0.85

Tested by 15

test_save_load_float8Function · 0.36
entry_aMethod · 0.36
entry_bMethod · 0.36
mainMethod · 0.36
mainMethod · 0.36
mainMethod · 0.36
func1Method · 0.36
func2Method · 0.36
mainMethod · 0.36
mainMethod · 0.36
cuda_graph_allocMethod · 0.36
cuda_graph_captureMethod · 0.36