IReadOnlyTensor<TSelf,T>.AsReadOnlyTensorSpan Method
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
AsReadOnlyTensorSpan() | |
AsReadOnlyTensorSpan(ReadOnlySpan<NIndex>) | |
AsReadOnlyTensorSpan(ReadOnlySpan<NRange>) | |
AsReadOnlyTensorSpan(ReadOnlySpan<IntPtr>) |
AsReadOnlyTensorSpan()
- Source:
- IReadOnlyTensor.cs
public:
System::Numerics::Tensors::ReadOnlyTensorSpan<T> AsReadOnlyTensorSpan();
public System.Numerics.Tensors.ReadOnlyTensorSpan<T> AsReadOnlyTensorSpan ();
abstract member AsReadOnlyTensorSpan : unit -> System.Numerics.Tensors.ReadOnlyTensorSpan<'T>
Public Function AsReadOnlyTensorSpan () As ReadOnlyTensorSpan(Of T)
Returns
Applies to
AsReadOnlyTensorSpan(ReadOnlySpan<NIndex>)
- Source:
- IReadOnlyTensor.cs
public:
System::Numerics::Tensors::ReadOnlyTensorSpan<T> AsReadOnlyTensorSpan(ReadOnlySpan<System::Buffers::NIndex> startIndex);
public System.Numerics.Tensors.ReadOnlyTensorSpan<T> AsReadOnlyTensorSpan (scoped ReadOnlySpan<System.Buffers.NIndex> startIndex);
abstract member AsReadOnlyTensorSpan : ReadOnlySpan<System.Buffers.NIndex> -> System.Numerics.Tensors.ReadOnlyTensorSpan<'T>
Public Function AsReadOnlyTensorSpan (startIndex As ReadOnlySpan(Of NIndex)) As ReadOnlyTensorSpan(Of T)
Parameters
- startIndex
- ReadOnlySpan<NIndex>
Returns
Applies to
AsReadOnlyTensorSpan(ReadOnlySpan<NRange>)
- Source:
- IReadOnlyTensor.cs
public:
System::Numerics::Tensors::ReadOnlyTensorSpan<T> AsReadOnlyTensorSpan(ReadOnlySpan<System::Buffers::NRange> range);
public System.Numerics.Tensors.ReadOnlyTensorSpan<T> AsReadOnlyTensorSpan (scoped ReadOnlySpan<System.Buffers.NRange> range);
abstract member AsReadOnlyTensorSpan : ReadOnlySpan<System.Buffers.NRange> -> System.Numerics.Tensors.ReadOnlyTensorSpan<'T>
Public Function AsReadOnlyTensorSpan (range As ReadOnlySpan(Of NRange)) As ReadOnlyTensorSpan(Of T)
Parameters
- range
- ReadOnlySpan<NRange>
Returns
Applies to
AsReadOnlyTensorSpan(ReadOnlySpan<IntPtr>)
- Source:
- IReadOnlyTensor.cs
public:
System::Numerics::Tensors::ReadOnlyTensorSpan<T> AsReadOnlyTensorSpan(ReadOnlySpan<IntPtr> start);
public System.Numerics.Tensors.ReadOnlyTensorSpan<T> AsReadOnlyTensorSpan (scoped ReadOnlySpan<IntPtr> start);
abstract member AsReadOnlyTensorSpan : ReadOnlySpan<nativeint> -> System.Numerics.Tensors.ReadOnlyTensorSpan<'T>
Public Function AsReadOnlyTensorSpan (start As ReadOnlySpan(Of IntPtr)) As ReadOnlyTensorSpan(Of T)
Parameters
- start
-
ReadOnlySpan<nativeint>
Returns
Applies to
Colaborați cu noi pe GitHub
Sursa pentru acest conținut poate fi găsită pe GitHub, unde puteți, de asemenea, să creați și să consultați probleme și solicitări de tragere. Pentru mai multe informații, consultați ghidul nostru pentru colaboratori.
Feedback
https://aka.ms/ContentUserFeedback.
În curând: Pe parcursul anului 2024, vom elimina treptat Probleme legate de GitHub ca mecanism de feedback pentru conținut și îl vom înlocui cu un nou sistem de feedback. Pentru mai multe informații, consultați:Trimiteți și vizualizați feedback pentru