TensorSpan<T>.Enumerator Struct

Definition

Enumerates the elements of a TensorSpan<T>.

public ref struct TensorSpan<T>.Enumerator

Type Parameters

T
Inheritance
TensorSpan<T>.Enumerator

Properties

Current

Gets the element at the current position of the enumerator.

Methods

MoveNext()

Advances the enumerator to the next element of the span.

Applies to

Product Versions
.NET 8 (package-provided), 9 (package-provided)