Share via


TensorSpan<T>.Enumerator Struct

Definition

Enumerates the elements of a tensor span.

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

Type Parameters

T
Inheritance
TensorSpan<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 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