Share via


ReadOnlyTensorSpan<T>.Enumerator Struct

Definition

Enumerates the elements of a tensor span.

public: value class ReadOnlyTensorSpan<T>::Enumerator : System::Collections::Generic::IEnumerator<T>
public ref struct ReadOnlyTensorSpan<T>.Enumerator : System.Collections.Generic.IEnumerator<T>
type ReadOnlyTensorSpan<'T>.Enumerator = struct
    interface IEnumerator<'T>
    interface IEnumerator
    interface IDisposable
Public Structure ReadOnlyTensorSpan(Of T).Enumerator
Implements IEnumerator(Of T)

Type Parameters

T
Inheritance
ReadOnlyTensorSpan<T>.Enumerator
Implements

Properties

Current

Gets the element at the current position of the enumerator.

Methods

MoveNext()

Advances the enumerator to the next element of the tensor span.

Reset()

Sets the enumerator to its initial position, which is before the first element in the tensor span.

Explicit Interface Implementations

IDisposable.Dispose()
IEnumerator.Current
IEnumerator<T>.Current

Applies to