Skip to main content

nn_tensor_set_panel_size

Function nn_tensor_set_panel_size 

Source
pub unsafe extern "C" fn nn_tensor_set_panel_size(
    tensor: *mut NNTensor,
    panel_size: c_int,
)
Expand description

Sets the panel size of the tensor. This is primarily an internal API used to store the vectorization length when shuffling tensors into an optimized tile format.

@private @memberof NNTensor @since 2.4