MCPcopy Index your code
hub / github.com/apache/tvm / byte_offset

Method byte_offset

python/tvm/relax/expr.py:292–296  ·  view source on GitHub ↗

Returns a proxy object for accessing DLTensor::byte_offset

(self)

Source from the content-addressed store, hash-verified

290
291 @property
292 def byte_offset(self) -> "Expr":
293 """Returns a proxy object for accessing DLTensor::byte_offset"""
294 self._check_for_tensor_struct_info()
295 op = tvm.ir.Op.get("relax.inspect.tensor_byte_offset")
296 return tvm.relax.Call(op, [self])
297
298 @property
299 def elem_offset(self) -> "Expr":

Callers

nothing calls this directly

Calls 2

getMethod · 0.45

Tested by

no test coverage detected