Implemented interface member:
property
Rank
System.Numerics.Tensors.IReadOnlyTensor.Rank
8 references to Rank
System.Numerics.Tensors (8)
System\Numerics\Tensors\netcore\Tensor_1.cs (1)
419
: _tensor._shape.GetLinearOffsetForDimension(_itemsEnumerated, _tensor.
Rank
));
System\Numerics\Tensors\netcore\Tensor.cs (7)
1535
int rank = tensor.
Rank
;
1701
if (tensor.
Rank
== 0)
2468
int rank = tensor.
Rank
;
2978
scoped Span<nint> lengths = TensorOperation.RentedBuffer.CreateUninitialized(tensor.
Rank
, out TensorOperation.RentedBuffer<nint> lengthsRentedBuffer);
2979
scoped Span<nint> strides = TensorOperation.RentedBuffer.CreateUninitialized(tensor.
Rank
, out TensorOperation.RentedBuffer<nint> stridesRentedBuffer);
3050
if (tensor.
Rank
== 0)
3056
int rank = tensor.
Rank
;