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
)
2809
nint tempTotal = tensor.
FlattenedLength
;
2822
if (tempLinear != tensor.
FlattenedLength
)
3116
return tensor.
FlattenedLength
== other.FlattenedLength
6850
ReadOnlySpan<T> span = MemoryMarshal.CreateSpan(ref broadcastedLeft._reference, (int)broadcastedLeft.
FlattenedLength
);
6851
ReadOnlySpan<T> rspan = MemoryMarshal.CreateSpan(ref broadcastedRight._reference, (int)broadcastedRight.
FlattenedLength
);
6894
while (copiedValues < slicedDestination.
FlattenedLength
)
6924
destinationSpan = MemoryMarshal.CreateSpan(ref destination._reference, (int)destination.
FlattenedLength
);
6946
while (copiedValues < slicedDestination.
FlattenedLength
)
6998
while (copiedValues < slicedDestination.
FlattenedLength
)
7065
while (outputOffset < slicedDestination.
FlattenedLength
)
7078
while (outputOffset < slicedDestination.
FlattenedLength
)
7091
while (outputOffset < slicedDestination.
FlattenedLength
)
7105
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
];