tilus.ir.layout.register_layout¶
- tilus.ir.layout.register_layout(shape, mode_shape, spatial_modes, local_modes)[source]¶
Create a register layout with the given shape, mode shape, spatial modes, and local modes.
- Parameters:
shape (Sequence[int]) – The shape of the layout.
mode_shape (Sequence[int]) – The shape of the modes.
spatial_modes (Sequence[int]) – The spatial modes of the layout.
local_modes (Sequence[int]) – The local modes of the layout.
- Returns:
ret – The created register layout.
- Return type: