pub fn sum_native_tensor(tensor: &Tensor) -> Result<AnyScalar>
Sum all elements of a native tensor, returning a dynamic scalar.