IReadOnlyTensor<TSelf,T>.FlattenTo(Span<T>) Method

Definition

Flattens the tensor to the specified destination. The destination span must be equal to or larger than the number of elements in the source tensor.

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 where the data should be flattened to.

Applies to