56 references to FlattenedLength
System.Numerics.Tensors (56)
System\Numerics\Tensors\netcore\ReadOnlyTensorSpan.cs (3)
496
if (_items < _span.
FlattenedLength
)
499
return _items < _span.
FlattenedLength
;
721
nint flattenedLength =
FlattenedLength
;
System\Numerics\Tensors\netcore\TensorExtensions.cs (52)
185
if (newSize == input.
FlattenedLength
)
557
for (int i = 0; i < x.
FlattenedLength
; i++)
602
for (int i = 0; i < broadcastedLeft.
FlattenedLength
; i++)
641
for (int i = 0; i < x.
FlattenedLength
; i++)
686
for (int i = 0; i < broadcastedLeft.
FlattenedLength
; i++)
725
for (int i = 0; i < x.
FlattenedLength
; i++)
932
for (int i = 0; i < x.
FlattenedLength
; i++)
992
for (int i = 0; i < y.
FlattenedLength
; i++)
1141
for (int i = 0; i < x.
FlattenedLength
; i++)
1201
for (int i = 0; i < y.
FlattenedLength
; i++)
1245
for (int i = 0; i < broadcastedLeft.
FlattenedLength
; i++)
1284
for (int i = 0; i < x.
FlattenedLength
; i++)
1323
for (int i = 0; i < y.
FlattenedLength
; i++)
1368
for (int i = 0; i < broadcastedLeft.
FlattenedLength
; i++)
1407
for (int i = 0; i < x.
FlattenedLength
; i++)
1446
for (int i = 0; i < y.
FlattenedLength
; i++)
1492
for (int i = 0; i < broadcastedLeft.
FlattenedLength
; i++)
1531
for (int i = 0; i < x.
FlattenedLength
; i++)
1570
for (int i = 0; i < y.
FlattenedLength
; i++)
1616
for (int i = 0; i < broadcastedLeft.
FlattenedLength
; i++)
1655
for (int i = 0; i < x.
FlattenedLength
; i++)
1694
for (int i = 0; i < y.
FlattenedLength
; i++)
1844
for (int i = 0; i < x.
FlattenedLength
; i++)
1904
for (int i = 0; i < y.
FlattenedLength
; i++)
2053
for (int i = 0; i < x.
FlattenedLength
; i++)
2113
for (int i = 0; i < y.
FlattenedLength
; i++)
2158
for (int i = 0; i < broadcastedLeft.
FlattenedLength
; i++)
2197
for (int i = 0; i < x.
FlattenedLength
; i++)
2236
for (int i = 0; i < y.
FlattenedLength
; i++)
2282
for (int i = 0; i < broadcastedLeft.
FlattenedLength
; i++)
2321
for (int i = 0; i < x.
FlattenedLength
; i++)
2360
for (int i = 0; i <= y.
FlattenedLength
; i++)
2405
for (int i = 0; i < broadcastedLeft.
FlattenedLength
; i++)
2444
for (int i = 0; i < x.
FlattenedLength
; i++)
2483
for (int i = 0; i < y.
FlattenedLength
; i++)
2528
for (int i = 0; i < broadcastedLeft.
FlattenedLength
; i++)
2567
for (int i = 0; i < x.
FlattenedLength
; i++)
2606
for (int i = 0; i < y.
FlattenedLength
; i++)
2871
nint tempTotal = tensor.
FlattenedLength
;
2884
if (tempLinear != tensor.
FlattenedLength
)
3081
while (copiedValues < tensor.
FlattenedLength
)
3107
return tensor.FlattenedLength == other.
FlattenedLength
3119
return tensor.
FlattenedLength
== other.
FlattenedLength
3185
nint totalToCopy = tensor.
FlattenedLength
/ splitCount;
3539
while (copiedValues < tensor.
FlattenedLength
)
6874
nint flattenedLength = input.
FlattenedLength
;
6980
inputSpan = MemoryMarshal.CreateSpan(ref input._reference, (int)input.
FlattenedLength
);
7081
ReadOnlySpan<T> span = MemoryMarshal.CreateSpan(ref left._reference, left._shape._memoryLength <= left.
FlattenedLength
? (int)left._shape._memoryLength : (int)left.
FlattenedLength
);
7082
ReadOnlySpan<T> rspan = MemoryMarshal.CreateSpan(ref right._reference, right._shape._memoryLength <= right.
FlattenedLength
? (int)right._shape._memoryLength : (int)right.
FlattenedLength
);
System\Numerics\Tensors\netcore\TensorSpanDebugView.cs (1)
23
_array = new T[span.
FlattenedLength
];