Tensor<T>.IReadOnlyTensor<Tensor<T>,T>.Item[] Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
IReadOnlyTensor<Tensor<T>,T>.Item[ReadOnlySpan<IntPtr>] |
Returns the specified element of the ReadOnlyTensor. |
IReadOnlyTensor<Tensor<T>,T>.Item[ReadOnlySpan<NIndex>] |
Returns the specified element of the ReadOnlyTensor. |
IReadOnlyTensor<Tensor<T>,T>.Item[ReadOnlySpan<IntPtr>]
- Source:
- Tensor_1.cs
- Source:
- Tensor.cs
Returns the specified element of the ReadOnlyTensor.
property T& ^ System::Numerics::Tensors::IReadOnlyTensor<System::Numerics::Tensors::Tensor<T>,T>::Item[ReadOnlySpan<IntPtr>] { T& ^ get(ReadOnlySpan<IntPtr> indexes); };
ref readonly T System.Numerics.Tensors.IReadOnlyTensor<System.Numerics.Tensors.Tensor<T>,T>.Item[scoped ReadOnlySpan<IntPtr> indexes] { get; }
member this.System.Numerics.Tensors.IReadOnlyTensor<System.Numerics.Tensors.Tensor<T>,T>.Item(ReadOnlySpan<nativeint>) : 'T
ReadOnly Property Item(indexes As ReadOnlySpan(Of IntPtr)) As T Implements IReadOnlyTensor(Of Tensor(Of T), T).Item
Parameters
- indexes
-
ReadOnlySpan<nativeint>
Property Value
Implements
Exceptions
Thrown when index less than 0 or index greater than or equal to FlattenedLength
Applies to
IReadOnlyTensor<Tensor<T>,T>.Item[ReadOnlySpan<NIndex>]
- Source:
- Tensor_1.cs
- Source:
- Tensor.cs
Returns the specified element of the ReadOnlyTensor.
property T& ^ System::Numerics::Tensors::IReadOnlyTensor<System::Numerics::Tensors::Tensor<T>,T>::Item[ReadOnlySpan<System::Buffers::NIndex>] { T& ^ get(ReadOnlySpan<System::Buffers::NIndex> indexes); };
ref readonly T System.Numerics.Tensors.IReadOnlyTensor<System.Numerics.Tensors.Tensor<T>,T>.Item[scoped ReadOnlySpan<System.Buffers.NIndex> indexes] { get; }
member this.System.Numerics.Tensors.IReadOnlyTensor<System.Numerics.Tensors.Tensor<T>,T>.Item(ReadOnlySpan<System.Buffers.NIndex>) : 'T
ReadOnly Property Item(indexes As ReadOnlySpan(Of NIndex)) As T Implements IReadOnlyTensor(Of Tensor(Of T), T).Item
Parameters
- indexes
- ReadOnlySpan<NIndex>
Property Value
Implements
Exceptions
Thrown when index less than 0 or index greater than or equal to FlattenedLength