Tensor<T>.ITensor<Tensor<T>,T>.Item[ReadOnlySpan 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
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. |
ITensor<Tensor<T>,T>.Item[ReadOnlySpan<NIndex>]
- 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
T
Implements
Exceptions
Thrown when index less than 0 or index greater than or equal to FlattenedLength
Applies to
ITensor<Tensor<T>,T>.Item[ReadOnlySpan<IntPtr>]
- 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
T
Implements
Exceptions
Thrown when index less than 0 or index greater than or equal to FlattenedLength
Applies to
ทํางานร่วมกับเราใน GitHub
แหล่งที่มาสำหรับเนื้อหานี้สามารถพบได้บน GitHub ซึ่งคุณยังสามารถสร้างและตรวจสอบปัญหาและคำขอดึงข้อมูลได้ สำหรับข้อมูลเพิ่มเติม ให้ดูคู่มือผู้สนับสนุนของเรา