71 references to MaxInlineRank
System.Numerics.Tensors (71)
System\Numerics\Tensors\netcore\ReadOnlyTensorSpan.cs (8)
148
TensorSpanHelpers.FillLengths(array.Rank <= TensorShape.
MaxInlineRank
?
167
array.Rank <= TensorShape.
MaxInlineRank
? stackalloc nint[array.Rank] : new nint[array.Rank],
215
array.Rank <= TensorShape.
MaxInlineRank
? stackalloc nint[array.Rank] : new nint[array.Rank],
545
if (Rank > TensorShape.
MaxInlineRank
)
601
if (Rank > TensorShape.
MaxInlineRank
)
696
if (Rank > TensorShape.
MaxInlineRank
)
756
if (Rank > TensorShape.
MaxInlineRank
)
797
if (Rank > TensorShape.
MaxInlineRank
)
System\Numerics\Tensors\netcore\Tensor.cs (1)
664
maximumLengths = Rank <= TensorShape.
MaxInlineRank
? stackalloc nint[Rank] : new nint[Rank];
System\Numerics\Tensors\netcore\TensorExtensions.cs (54)
383
if (tensors[0].Rank > TensorShape.
MaxInlineRank
)
489
if (right.Rank > TensorShape.
MaxInlineRank
)
545
if (x.Rank > TensorShape.
MaxInlineRank
)
590
if (broadcastedLeft.Rank > TensorShape.
MaxInlineRank
)
629
if (x.Rank > TensorShape.
MaxInlineRank
)
674
if (broadcastedRight.Rank > TensorShape.
MaxInlineRank
)
713
if (x.Rank > TensorShape.
MaxInlineRank
)
860
if (right.Rank > TensorShape.
MaxInlineRank
)
920
if (x.Rank > TensorShape.
MaxInlineRank
)
980
if (y.Rank > TensorShape.
MaxInlineRank
)
1069
if (right.Rank > TensorShape.
MaxInlineRank
)
1129
if (x.Rank > TensorShape.
MaxInlineRank
)
1189
if (y.Rank > TensorShape.
MaxInlineRank
)
1233
if (broadcastedRight.Rank > TensorShape.
MaxInlineRank
)
1272
if (x.Rank > TensorShape.
MaxInlineRank
)
1311
if (y.Rank > TensorShape.
MaxInlineRank
)
1356
if (broadcastedRight.Rank > TensorShape.
MaxInlineRank
)
1395
if (x.Rank > TensorShape.
MaxInlineRank
)
1434
if (y.Rank > TensorShape.
MaxInlineRank
)
1480
if (broadcastedLeft.Rank > TensorShape.
MaxInlineRank
)
1519
if (x.Rank > TensorShape.
MaxInlineRank
)
1558
if (y.Rank > TensorShape.
MaxInlineRank
)
1604
if (broadcastedLeft.Rank > TensorShape.
MaxInlineRank
)
1643
if (x.Rank > TensorShape.
MaxInlineRank
)
1682
if (y.Rank > TensorShape.
MaxInlineRank
)
1772
if (right.Rank > TensorShape.
MaxInlineRank
)
1832
if (x.Rank > TensorShape.
MaxInlineRank
)
1892
if (y.Rank > TensorShape.
MaxInlineRank
)
1981
if (right.Rank > TensorShape.
MaxInlineRank
)
2041
if (x.Rank > TensorShape.
MaxInlineRank
)
2101
if (y.Rank > TensorShape.
MaxInlineRank
)
2146
if (broadcastedRight.Rank > TensorShape.
MaxInlineRank
)
2185
if (x.Rank > TensorShape.
MaxInlineRank
)
2224
if (y.Rank > TensorShape.
MaxInlineRank
)
2270
if (broadcastedRight.Rank > TensorShape.
MaxInlineRank
)
2309
if (x.Rank > TensorShape.
MaxInlineRank
)
2348
if (y.Rank > TensorShape.
MaxInlineRank
)
2393
if (broadcastedRight.Rank > TensorShape.
MaxInlineRank
)
2432
if (x.Rank > TensorShape.
MaxInlineRank
)
2471
if (y.Rank > TensorShape.
MaxInlineRank
)
2516
if (broadcastedRight.Rank > TensorShape.
MaxInlineRank
)
2555
if (x.Rank > TensorShape.
MaxInlineRank
)
2594
if (y.Rank > TensorShape.
MaxInlineRank
)
3575
Span<int> dimension = tensor.Rank <= TensorShape.
MaxInlineRank
? stackalloc int[tensor.Rank] : new int[tensor.Rank];
3642
Span<nint> lengths = tensor._lengths.Length + 1 <= TensorShape.
MaxInlineRank
?
3649
Span<nint> strides = tensor.Strides.Length + 1 <= TensorShape.
MaxInlineRank
?
3679
Span<nint> lengths = tensor.Lengths.Length + 1 <= TensorShape.
MaxInlineRank
?
3686
Span<nint> strides = tensor.Strides.Length + 1 <= TensorShape.
MaxInlineRank
?
3716
Span<nint> lengths = tensor.Lengths.Length + 1 <= TensorShape.
MaxInlineRank
?
3723
Span<nint> strides = tensor.Strides.Length + 1 <= TensorShape.
MaxInlineRank
?
6936
if (input.Lengths.Length > TensorShape.
MaxInlineRank
)
6988
if (input.Lengths.Length > TensorShape.
MaxInlineRank
)
7040
if (input.Lengths.Length > TensorShape.
MaxInlineRank
)
7104
if (newSize.Length > TensorShape.
MaxInlineRank
)
System\Numerics\Tensors\netcore\TensorSpan.cs (8)
151
TensorSpanHelpers.FillLengths(array.Rank <= TensorShape.
MaxInlineRank
? stackalloc nint[array.Rank] : new nint[array.Rank], array),
168
array.Rank < TensorShape.
MaxInlineRank
? stackalloc nint[array.Rank] : new nint[array.Rank],
217
array.Rank <= TensorShape.
MaxInlineRank
? stackalloc nint[array.Rank] : new nint[array.Rank],
525
if (Rank > TensorShape.
MaxInlineRank
)
575
if (Rank > TensorShape.
MaxInlineRank
)
629
if (Rank > TensorShape.
MaxInlineRank
)
730
if (Rank > TensorShape.
MaxInlineRank
)
809
if (Rank > TensorShape.
MaxInlineRank
)