API reference
python:astx:astx.tensor.TensorShape.__init__
method __init__
__init__(base: astx.AST, axis: int) -> None
Source: packages/astx/src/astx/tensor.py:378
Initialize one Tensor shape query.
Parameters
-
base — Base value or declaration.; Type: astx.AST
-
axis — Axis selected by the operation.; Type: int
Returns
Type: None