API reference
python:astx:astx.tensor.TensorElementCount.get_struct
method get_struct
get_struct(simplified: bool = False) -> astx.base.ReprStruct
Source: packages/astx/src/astx/tensor.py:474
Return the structured representation of the element-count query.
Parameters
- simplified — Whether to request the compact representation.; Type: bool
Returns
Structured representation of this node.; Type: astx.base.ReprStruct