Прочетете на английски

Споделяне чрез


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

Definition

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

C#
public bool TryFlattenTo(scoped Span<T> destination);

Parameters

destination
Span<T>

The span to copy items into.

Returns

Applies to

Продукт Версии
.NET 8 (package-provided), 9 (package-provided), 10 (package-provided)