Tensor<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
Item[Tensor<Boolean>] | |
Item[ReadOnlySpan<NIndex>] | |
Item[ReadOnlySpan<NRange>] | |
Item[ReadOnlySpan<IntPtr>] |
Item[Tensor<Boolean>]
- Source:
- Tensor.cs
public:
property System::Numerics::Tensors::Tensor<T> ^ default[System::Numerics::Tensors::Tensor<bool> ^] { System::Numerics::Tensors::Tensor<T> ^ get(System::Numerics::Tensors::Tensor<bool> ^ filter); };
public System.Numerics.Tensors.Tensor<T> this[System.Numerics.Tensors.Tensor<bool> filter] { get; }
member this.Item(System.Numerics.Tensors.Tensor<bool>) : System.Numerics.Tensors.Tensor<'T>
Default Public ReadOnly Property Item(filter As Tensor(Of Boolean)) As Tensor(Of T)
Parameters
Property Value
Applies to
Item[ReadOnlySpan<NIndex>]
- Source:
- Tensor.cs
public:
property T % default[ReadOnlySpan<System::Buffers::NIndex>] { T % get(ReadOnlySpan<System::Buffers::NIndex> indexes); };
public ref 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>
Property Value
T
Applies to
Item[ReadOnlySpan<NRange>]
- Source:
- Tensor.cs
public:
property System::Numerics::Tensors::Tensor<T> ^ default[ReadOnlySpan<System::Buffers::NRange>] { System::Numerics::Tensors::Tensor<T> ^ get(ReadOnlySpan<System::Buffers::NRange> ranges); void set(ReadOnlySpan<System::Buffers::NRange> ranges, System::Numerics::Tensors::Tensor<T> ^ value); };
public System.Numerics.Tensors.Tensor<T> this[scoped ReadOnlySpan<System.Buffers.NRange> ranges] { get; set; }
member this.Item(ReadOnlySpan<System.Buffers.NRange>) : System.Numerics.Tensors.Tensor<'T> with get, set
Default Public Property Item(ranges As ReadOnlySpan(Of NRange)) As Tensor(Of T)
Parameters
- ranges
- ReadOnlySpan<NRange>
Property Value
Implements
Applies to
Item[ReadOnlySpan<IntPtr>]
- Source:
- Tensor.cs
public:
property T % default[ReadOnlySpan<IntPtr>] { T % get(ReadOnlySpan<IntPtr> indexes); };
public ref 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<nativeint>
Property Value
T
Applies to
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應