API reference
python:irx:irx.builder.lowering.tensor.TensorVisitorMixin._tensor_value_from_parts
method _tensor_value_from_parts
_tensor_value_from_parts(*, data: ir.Value, owner: ir.Value, dtype: ir.Value, layout: TensorLayout, flags: int, offset_value: ir.Value | None = None) -> ir.Value
Source: packages/irx/src/irx/builder/lowering/tensor.py:149
Assemble one lowered tensor value from storage and layout parts.
Parameters
-
data — Data to process.; Type: ir.Value
-
owner — Owner keeping the resource alive.; Type: ir.Value
-
dtype — Element data type.; Type: ir.Value
-
layout — Layout.; Type: TensorLayout
-
flags — Flags.; Type: int
-
offset_value — Offset value.; Type: ir.Value | None
Returns
Result of this operation: assemble one lowered tensor value from storage and layout parts.; Type: ir.Value