Partilhar via


IReadOnlyTensor<TSelf,T>.Item[ReadOnlySpan Property

Definition

Overloads

Item[ReadOnlySpan<NIndex>]

Gets the value at the specified indexes.

Item[ReadOnlySpan<NRange>]

Gets the values at the specified ranges.

Item[ReadOnlySpan<IntPtr>]

Gets the value at the specified indexes.

Item[ReadOnlySpan<NIndex>]

Source:
IReadOnlyTensor.cs
Source:
IReadOnlyTensor.cs

Gets the value at the specified indexes.

public:
 property T default[ReadOnlySpan<System::Buffers::NIndex>] { T get(ReadOnlySpan<System::Buffers::NIndex> indexes); };
public T this[scoped ReadOnlySpan<System.Buffers.NIndex> indexes] { get; }
member this.Item(ReadOnlySpan<System.Buffers.NIndex>) : 'T
Default Public ReadOnly Property Item(indexes As ReadOnlySpan(Of NIndex)) As T

Parameters

indexes
ReadOnlySpan<NIndex>

The indexes to be used.

Property Value

T

Applies to

Item[ReadOnlySpan<NRange>]

Source:
IReadOnlyTensor.cs
Source:
IReadOnlyTensor.cs

Gets the values at the specified ranges.

public:
 property TSelf default[ReadOnlySpan<System::Buffers::NRange>] { TSelf get(ReadOnlySpan<System::Buffers::NRange> ranges); };
public TSelf this[scoped ReadOnlySpan<System.Buffers.NRange> ranges] { get; }
member this.Item(ReadOnlySpan<System.Buffers.NRange>) : 'Self
Default Public ReadOnly Property Item(ranges As ReadOnlySpan(Of NRange)) As TSelf

Parameters

ranges
ReadOnlySpan<NRange>

The ranges to be used.

Property Value

TSelf

Applies to

Item[ReadOnlySpan<IntPtr>]

Source:
IReadOnlyTensor.cs
Source:
IReadOnlyTensor.cs

Gets the value at the specified indexes.

public:
 property T default[ReadOnlySpan<IntPtr>] { T get(ReadOnlySpan<IntPtr> indexes); };
public T this[scoped ReadOnlySpan<IntPtr> indexes] { get; }
member this.Item(ReadOnlySpan<nativeint>) : 'T
Default Public ReadOnly Property Item(indexes As ReadOnlySpan(Of IntPtr)) As T

Parameters

indexes

ReadOnlySpan<IntPtr>

ReadOnlySpan<nativeint>

The indexes to be used.

Property Value

T

Applies to