ttnn.tilize_with_zero_padding

ttnn.tilize_with_zero_padding() None

Changes data layout of input tensor to TILE. Pads to the nearest multiple of TILE width/height with zero value.

Input tensor must be on TT accelerator device, in ROW_MAJOR layout, and have BFLOAT16 or UINT32 data type.

Output tensor will be on TT accelerator device, in TILE layout, and have BFLOAT16 or UINT32 data type.

:param * input_tensor: Input Tensor.

:keyword * memory_config: Memory Config of the output tensor. :keyword * dtype: Data type of the output tensor. :keyword * use_multicore: Whether to use multicore.