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:269
Infer one tensor literal directly from one literal value.
Parameters
- expr — Expression to process.; Type: astx.Literal
Returns
Result of this operation: infer one tensor literal directly from one literal value.; Type: astx.TensorLiteral