Function executorch_sys::torch::executor::TensorImpl_dim
source · pub unsafe extern "C" fn TensorImpl_dim(
this: *const TensorImpl,
) -> isizeExpand description
Returns the tensor’s number of dimensions.
pub unsafe extern "C" fn TensorImpl_dim(
this: *const TensorImpl,
) -> isizeReturns the tensor’s number of dimensions.