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:158
Assemble one lowered tensor value from storage and layout parts.
Parameters
-
data — Type: ir.Value
-
owner — Type: ir.Value
-
dtype — Type: ir.Value
-
layout — Type: TensorLayout
-
flags — Type: int
-
offset_value — Type: ir.Value | None
Returns
Type: ir.Value