API reference
python:astx:astx.TensorIndex
class TensorIndex
TensorIndex(base: astx.AST, indices: Sequence[astx.AST])
Source: packages/astx/src/astx/tensor.py:250
Declared as: python:astx:astx.tensor.TensorIndex
Internal Tensor indexed read.
Attributes
-
base — Type: astx.AST
-
indices — Type: list[astx.AST]
-
type_ — Type: astx.DataType
Methods
-
__init__ — Initialize one Tensor indexed read.
-
get_struct — Return the structured representation of the indexed read.