pub unsafe extern "C" fn nn_tensor_alloc( tensor: *mut NNTensor, type_: NNTensorType, n_dims: i32, shape: *const i32, ) -> NNError
Allocates the internal memory for the tensor.
@public @memberof NNTensor @since 2.0