Share via


Tensor<T>.Enumerator Struct

Definition

Enumerates the elements of a tensor.

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

Type Parameters

T
Inheritance
Tensor<T>.Enumerator
Implements

Properties

Name Description
Current

Gets the element in the collection at the current position of the enumerator.

Methods

Name Description
MoveNext()

Advances the enumerator to the next element of the collection.

Reset()

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

Explicit Interface Implementations

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

Applies to