MCPcopy Create free account
hub / github.com/apache/tvm / strides

Method strides

python/tvm/relax/expr.py:286–289  ·  view source on GitHub ↗

Returns a proxy object for accessing DLTensor::strides

(self)

Source from the content-addressed store, hash-verified

284
285 @property
286 def strides(self) -> "_DLTensorStrideProxy":
287 """Returns a proxy object for accessing DLTensor::strides"""
288 self._check_for_tensor_struct_info()
289 return _DLTensorStrideProxy(self)
290
291 @property
292 def byte_offset(self) -> "Expr":

Callers

nothing calls this directly

Calls 2

Tested by

no test coverage detected