Share via


ReadOnlyTensorDimensionSpan<T> Struct

Definition

Represents the slices that exist within a dimension of a tensor span.

generic <typename T>
public value class ReadOnlyTensorDimensionSpan
public readonly ref struct ReadOnlyTensorDimensionSpan<T>
type ReadOnlyTensorDimensionSpan<'T> = struct
Public Structure ReadOnlyTensorDimensionSpan(Of T)

Type Parameters

T

The type of the elements within the tensor span.

Inheritance
ReadOnlyTensorDimensionSpan<T>

Properties

Item[IntPtr]

Gets the tensor span representing a slice of the tracked dimension using the specified index.

Length

Gets the length of the tensor dimension span.

Methods

GetEnumerator()

Gets an enumerator for the readonly tensor dimension span.

Applies to