Function nn_tensor_element_size

Source
pub unsafe extern "C" fn nn_tensor_element_size(
    tensor: *const NNTensor,
) -> usize
Expand description

Returns the element size of a given tensor object.

@public @memberof NNTensor @since 2.0