tilus.Script.annotate_layout

tilus.Script.annotate_layout

Script.annotate_layout(tensor, layout)[source]

Annotate the layout of a register tensor.

This instruction annotates the layout of a register tensor with a specified layout. The layout parameter is an instance of RegisterLayout that defines how the tensor’s data is organized among the threads in the thread block.

This layout will be used to guide the layout inference process.

Parameters:
Return type:

None