Share via


TensorDimensionSpan<T> Struct

Definition

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

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

Type Parameters

T

The type of the elements within the tensor span.

Inheritance
TensorDimensionSpan<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