API reference
python:astx:astx.TensorByteOffset
class TensorByteOffset
TensorByteOffset(base: astx.AST, indices: Sequence[astx.AST])
Source: packages/astx/src/astx/tensor.py:564
Declared as: python:astx:astx.tensor.TensorByteOffset
Internal Tensor byte-offset query for indexed addressing.
Attributes
-
base — Type: astx.AST
-
indices — Type: list[astx.AST]
-
type_ — Type: astx.Int64
Methods
-
__init__ — Initialize one Tensor byte-offset query.
-
get_struct — Return the structured representation of the byte-offset query.