23 references to FlattenedLength
System.Numerics.Tensors (23)
System\Numerics\Tensors\netcore\Tensor.cs (2)
466
T[] values = _isPinned ? GC.AllocateArray<T>(checked((int)s.
FlattenedLength
), _isPinned) : (new T[s.
FlattenedLength
]);
System\Numerics\Tensors\netcore\TensorExtensions.cs (17)
105
intermediate.FlattenTo(MemoryMarshal.CreateSpan(ref destination._reference, (int)destination.
FlattenedLength
));
120
intermediate.FlattenTo(MemoryMarshal.CreateSpan(ref destination._reference, (int)destination.
FlattenedLength
));
135
intermediate.FlattenTo(MemoryMarshal.CreateSpan(ref destination._reference, (int)destination.
FlattenedLength
));
157
if (newSize == input.
FlattenedLength
)
2815
nint tempTotal = tensor.
FlattenedLength
;
2828
if (tempLinear != tensor.
FlattenedLength
)
3122
return tensor.
FlattenedLength
== other.FlattenedLength
6856
ReadOnlySpan<T> span = MemoryMarshal.CreateSpan(ref broadcastedLeft._reference, (int)broadcastedLeft.
FlattenedLength
);
6857
ReadOnlySpan<T> rspan = MemoryMarshal.CreateSpan(ref broadcastedRight._reference, (int)broadcastedRight.
FlattenedLength
);
6900
while (copiedValues < slicedDestination.
FlattenedLength
)
6930
destinationSpan = MemoryMarshal.CreateSpan(ref destination._reference, (int)destination.
FlattenedLength
);
6952
while (copiedValues < slicedDestination.
FlattenedLength
)
7004
while (copiedValues < slicedDestination.
FlattenedLength
)
7071
while (outputOffset < slicedDestination.
FlattenedLength
)
7084
while (outputOffset < slicedDestination.
FlattenedLength
)
7097
while (outputOffset < slicedDestination.
FlattenedLength
)
7111
while (outputOffset < slicedDestination.
FlattenedLength
)
System\Numerics\Tensors\netcore\TensorSpan.cs (3)
475
if (_items < _span.
FlattenedLength
)
478
return _items < _span.
FlattenedLength
;
741
nint flattenedLength =
FlattenedLength
;
System\Numerics\Tensors\netcore\TensorSpanDebugView.cs (1)
17
_array = new T[span.
FlattenedLength
];