pub unsafe extern "C" fn nn_tensor_volume(
    tensor: *const NNTensor
) -> i32
Expand description

Calculates the total tensor volume (product of dimensions).

@public @memberof NNTensor @since 2.0