ReadOnlyTensorSpan<T>.TryFlattenTo(Span<T>) Method

Definition

Flattens the contents of this span into the provided Span<T>.

public:
 bool TryFlattenTo(Span<T> destination);
public bool TryFlattenTo (scoped Span<T> destination);
member this.TryFlattenTo : Span<'T> -> bool
Public Function TryFlattenTo (destination As Span(Of T)) As Boolean

Parameters

destination
Span<T>

The span to copy items into.

Returns

Applies to