API reference
python:astx:astx.tensor.TensorShape
class TensorShape
TensorShape(base: astx.AST, axis: int)
Source: packages/astx/src/astx/tensor.py:421
Internal Tensor shape-entry query.
Attributes
-
base — Type: astx.AST
-
axis — Type: int
-
type_ — Type: astx.Int64
Methods
-
__init__ — Initialize one Tensor shape query.
-
get_struct — Return the structured representation of the shape query.