API reference
python:aix:aix.tensor.infer_literal
function infer_literal
infer_literal(expr: astx.Literal) -> astx.TensorLiteral
Source: packages/aix/src/aix/tensor.py:299
Infer one tensor literal directly from one literal value.
Parameters
- expr — Type: astx.Literal
Returns
Type: astx.TensorLiteral