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)
397
if (tensors[0].Rank > TensorShape.
MaxInlineRank
)
503
if (right.Rank > TensorShape.
MaxInlineRank
)
559
if (x.Rank > TensorShape.
MaxInlineRank
)
604
if (broadcastedLeft.Rank > TensorShape.
MaxInlineRank
)
643
if (x.Rank > TensorShape.
MaxInlineRank
)
688
if (broadcastedRight.Rank > TensorShape.
MaxInlineRank
)
727
if (x.Rank > TensorShape.
MaxInlineRank
)
874
if (right.Rank > TensorShape.
MaxInlineRank
)
934
if (x.Rank > TensorShape.
MaxInlineRank
)
994
if (y.Rank > TensorShape.
MaxInlineRank
)
1083
if (right.Rank > TensorShape.
MaxInlineRank
)
1143
if (x.Rank > TensorShape.
MaxInlineRank
)
1203
if (y.Rank > TensorShape.
MaxInlineRank
)
1247
if (broadcastedRight.Rank > TensorShape.
MaxInlineRank
)
1286
if (x.Rank > TensorShape.
MaxInlineRank
)
1325
if (y.Rank > TensorShape.
MaxInlineRank
)
1370
if (broadcastedRight.Rank > TensorShape.
MaxInlineRank
)
1409
if (x.Rank > TensorShape.
MaxInlineRank
)
1448
if (y.Rank > TensorShape.
MaxInlineRank
)
1494
if (broadcastedLeft.Rank > TensorShape.
MaxInlineRank
)
1533
if (x.Rank > TensorShape.
MaxInlineRank
)
1572
if (y.Rank > TensorShape.
MaxInlineRank
)
1618
if (broadcastedLeft.Rank > TensorShape.
MaxInlineRank
)
1657
if (x.Rank > TensorShape.
MaxInlineRank
)
1696
if (y.Rank > TensorShape.
MaxInlineRank
)
1786
if (right.Rank > TensorShape.
MaxInlineRank
)
1846
if (x.Rank > TensorShape.
MaxInlineRank
)
1906
if (y.Rank > TensorShape.
MaxInlineRank
)
1995
if (right.Rank > TensorShape.
MaxInlineRank
)
2055
if (x.Rank > TensorShape.
MaxInlineRank
)
2115
if (y.Rank > TensorShape.
MaxInlineRank
)
2160
if (broadcastedRight.Rank > TensorShape.
MaxInlineRank
)
2199
if (x.Rank > TensorShape.
MaxInlineRank
)
2238
if (y.Rank > TensorShape.
MaxInlineRank
)
2284
if (broadcastedRight.Rank > TensorShape.
MaxInlineRank
)
2323
if (x.Rank > TensorShape.
MaxInlineRank
)
2362
if (y.Rank > TensorShape.
MaxInlineRank
)
2407
if (broadcastedRight.Rank > TensorShape.
MaxInlineRank
)
2446
if (x.Rank > TensorShape.
MaxInlineRank
)
2485
if (y.Rank > TensorShape.
MaxInlineRank
)
2530
if (broadcastedRight.Rank > TensorShape.
MaxInlineRank
)
2569
if (x.Rank > TensorShape.
MaxInlineRank
)
2608
if (y.Rank > TensorShape.
MaxInlineRank
)
3619
Span<int> dimension = tensor.Rank <= TensorShape.
MaxInlineRank
? stackalloc int[tensor.Rank] : new int[tensor.Rank];
3686
Span<nint> lengths = tensor._lengths.Length + 1 <= TensorShape.
MaxInlineRank
?
3693
Span<nint> strides = tensor.Strides.Length + 1 <= TensorShape.
MaxInlineRank
?
3723
Span<nint> lengths = tensor.Lengths.Length + 1 <= TensorShape.
MaxInlineRank
?
3730
Span<nint> strides = tensor.Strides.Length + 1 <= TensorShape.
MaxInlineRank
?
3760
Span<nint> lengths = tensor.Lengths.Length + 1 <= TensorShape.
MaxInlineRank
?
3767
Span<nint> strides = tensor.Strides.Length + 1 <= TensorShape.
MaxInlineRank
?
6941
if (input.Lengths.Length > TensorShape.
MaxInlineRank
)
6993
if (input.Lengths.Length > TensorShape.
MaxInlineRank
)
7045
if (input.Lengths.Length > TensorShape.
MaxInlineRank
)
7109
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
)