nn_tensor_set_axis

Function nn_tensor_set_axis 

Source
pub unsafe extern "C" fn nn_tensor_set_axis(
    tensor: *mut NNTensor,
    axis: i32,
)
Expand description

Configures the channel axis of the tensor. This refers to the ā€œCā€ in orderings such as NHWC and NCHW.

@public @memberof NNTensor @since 2.0