Implemented interface member:
property
Rank
System.Numerics.Tensors.IReadOnlyTensor.Rank
9 references to Rank
System.Numerics.Tensors (9)
System\Numerics\Tensors\netcore\Tensor_1.cs (1)
419: _tensor._shape.GetLinearOffsetForDimension(_itemsEnumerated, _tensor.Rank));
System\Numerics\Tensors\netcore\Tensor.cs (8)
1454int rank = tensor.Rank; 1620if (tensor.Rank == 0) 2191int rank = tensor.Rank; 2494if (tensor.Rank != rank) 2667scoped Span<nint> lengths = TensorOperation.RentedBuffer.CreateUninitialized(tensor.Rank, out TensorOperation.RentedBuffer<nint> lengthsRentedBuffer); 2668scoped Span<nint> strides = TensorOperation.RentedBuffer.CreateUninitialized(tensor.Rank, out TensorOperation.RentedBuffer<nint> stridesRentedBuffer); 2739if (tensor.Rank == 0) 2745int rank = tensor.Rank;