18 references to Rank
System.Numerics.Tensors (18)
System\Numerics\Tensors\netcore\Tensor_1.cs (1)
118public int Rank => _shape.Rank;
System\Numerics\Tensors\netcore\TensorOperation.cs (4)
35scoped Span<nint> xIndexes = RentedBuffer.Create(destinationShape.Rank, x.Strides, out nint xLinearOffset, out RentedBuffer<nint> xRentedBuffer); 36scoped Span<nint> yIndexes = RentedBuffer.Create(destinationShape.Rank, y.Strides, out nint yLinearOffset, out RentedBuffer<nint> yRentedBuffer); 228scoped Span<nint> xIndexes = RentedBuffer.Create(destinationShape.Rank, x.Strides, out nint xLinearOffset, out RentedBuffer<nint> xRentedBuffer); 229scoped Span<nint> yIndexes = RentedBuffer.Create(destinationShape.Rank, y.Strides, out nint yLinearOffset, out RentedBuffer<nint> yRentedBuffer);
System\Numerics\Tensors\netcore\TensorShape.cs (13)
366int rank = left.Rank; 368if (rank != right.Rank) 409Debug.Assert(indexes.Length >= Rank); 410Debug.Assert(indexes.Length == destinationShape.Rank); 446if (indexes.Length != Rank) 474Debug.Assert(indexes.Length >= Rank); 475Debug.Assert(indexes.Length == destinationShape.Rank); 511if (indexes.Length != Rank) 562int rankDelta = shape1.Rank - shape2.Rank; 643int rankDelta = shape1Lengths.Length - shape2.Rank; 1032int rank = Rank; 1092int rank = Rank;