IReadOnlyTensor<TSelf,T>.FlattenTo(Span<T>) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Flattens the contents of the tensor into a destination span.
public:
void FlattenTo(Span<T> destination);
public void FlattenTo(scoped Span<T> destination);
abstract member FlattenTo : Span<'T> -> unit
Public Sub FlattenTo (destination As Span(Of T))
Parameters
- destination
- Span<T>
The destination span.
Exceptions
destination
is shorter than the source tensor.
Remarks
This method copies all of the source tensor to destination
even if they overlap.