API reference
python:irx:irx.builder.lowering.tensor.TensorVisitorMixin._build_arrow_tensor_from_values
method _build_arrow_tensor_from_values
_build_arrow_tensor_from_values(node: astx.AST, values: list[astx.AST], element_type: astx.DataType, layout: TensorLayout) -> ir.Value
Source: packages/irx/src/irx/builder/lowering/tensor.py:384
Build one Arrow tensor handle from scalar AST values.
Parameters
-
node — Syntax node to process.; Type: astx.AST
-
values — Values to process, in order.; Type: list[astx.AST]
-
element_type — Type of each element.; Type: astx.DataType
-
layout — Layout.; Type: TensorLayout
Returns
Constructed one Arrow tensor handle from scalar AST values.; Type: ir.Value