#[unsafe(no_mangle)]pub unsafe extern "C" fn tfe_tensor_f64_ndim(
tensor: *const TfeTensorF64,
status: *mut tfe_status_t,
) -> usizeExpand description
Return the number of dimensions (rank) of the tensor.
Returns 0 if tensor is null (and sets status to TFE_INVALID_ARGUMENT).
ยงSafety
tensormust be a valid tensor pointer or null.statusmust be a valid, non-null pointer.