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

Method shape

python/tvm/relax/expr.py:280–283  ·  view source on GitHub ↗

Returns a proxy object for accessing DLTensor::shape

(self)

Source from the content-addressed store, hash-verified

278
279 @property
280 def shape(self) -> "_DLTensorShapeProxy":
281 """Returns a proxy object for accessing DLTensor::shape"""
282 self._check_for_tensor_struct_info()
283 return _DLTensorShapeProxy(self)
284
285 @property
286 def strides(self) -> "_DLTensorStrideProxy":

Callers 15

shapeFunction · 0.45
_compute_intnFunction · 0.45
mainMethod · 0.45
mainMethod · 0.45
mainMethod · 0.45
mainMethod · 0.45
mainMethod · 0.45
mainMethod · 0.45
expectedMethod · 0.45
beforeMethod · 0.45
entry_aMethod · 0.45
entry_bMethod · 0.45

Calls 2

_DLTensorShapeProxyClass · 0.85

Tested by 15

mainMethod · 0.36
mainMethod · 0.36
mainMethod · 0.36
mainMethod · 0.36
mainMethod · 0.36
mainMethod · 0.36
expectedMethod · 0.36
beforeMethod · 0.36
entry_aMethod · 0.36
entry_bMethod · 0.36
mainMethod · 0.36
mainMethod · 0.36