Tensor<T>.ITensor<Tensor<T>,T>.Item[ReadOnlySpan Property
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.
ITensor<Tensor<T>,T>.Item[ReadOnlySpan<NIndex>] |
Returns the specified element of the Tensor. |
ITensor<Tensor<T>,T>.Item[ReadOnlySpan<IntPtr>] |
Returns the specified element of the Tensor. |
- Source:
- Tensor.cs
- Source:
- Tensor.cs
Returns the specified element of the Tensor.
property T System::Numerics::Tensors::ITensor<System::Numerics::Tensors::Tensor<T>,T>::Item[ReadOnlySpan<System::Buffers::NIndex>] { T get(ReadOnlySpan<System::Buffers::NIndex> indexes); void set(ReadOnlySpan<System::Buffers::NIndex> indexes, T value); };
T System.Numerics.Tensors.ITensor<System.Numerics.Tensors.Tensor<T>,T>.Item[scoped ReadOnlySpan<System.Buffers.NIndex> indexes] { get; set; }
member this.System.Numerics.Tensors.ITensor<System.Numerics.Tensors.Tensor<T>,T>.Item(ReadOnlySpan<System.Buffers.NIndex>) : 'T with get, set
Property Item(indexes As ReadOnlySpan(Of NIndex)) As T Implements ITensor(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
Applies to
.NET 10 (package-provided) та інші версії
Продукт | Версії |
---|---|
.NET | 8 (package-provided), 9 (package-provided), 10 (package-provided) |
- Source:
- Tensor.cs
- Source:
- Tensor.cs
Returns the specified element of the Tensor.
property T System::Numerics::Tensors::ITensor<System::Numerics::Tensors::Tensor<T>,T>::Item[ReadOnlySpan<IntPtr>] { T get(ReadOnlySpan<IntPtr> indexes); void set(ReadOnlySpan<IntPtr> indexes, T value); };
T System.Numerics.Tensors.ITensor<System.Numerics.Tensors.Tensor<T>,T>.Item[scoped ReadOnlySpan<IntPtr> indexes] { get; set; }
member this.System.Numerics.Tensors.ITensor<System.Numerics.Tensors.Tensor<T>,T>.Item(ReadOnlySpan<nativeint>) : 'T with get, set
Property Item(indexes As ReadOnlySpan(Of IntPtr)) As T Implements ITensor(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
.NET 10 (package-provided) та інші версії
Продукт | Версії |
---|---|
.NET | 8 (package-provided), 9 (package-provided), 10 (package-provided) |
Відгук про .NET
.NET – це проект із відкритим кодом. Виберіть посилання, щоб надати відгук: