Tensor<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:
- Tensor.cs
public:
virtual System::Numerics::Tensors::ReadOnlyTensorSpan<T> AsReadOnlyTensorSpan();
public System.Numerics.Tensors.ReadOnlyTensorSpan<T> AsReadOnlyTensorSpan ();
abstract member AsReadOnlyTensorSpan : unit -> System.Numerics.Tensors.ReadOnlyTensorSpan<'T>
override this.AsReadOnlyTensorSpan : unit -> System.Numerics.Tensors.ReadOnlyTensorSpan<'T>
Public Function AsReadOnlyTensorSpan () As ReadOnlyTensorSpan(Of T)
Returns
Implements
Applies to
AsReadOnlyTensorSpan(ReadOnlySpan<NIndex>)
- Source:
- Tensor.cs
public:
virtual 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>
override this.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
Implements
Applies to
AsReadOnlyTensorSpan(ReadOnlySpan<NRange>)
- Source:
- Tensor.cs
public:
virtual System::Numerics::Tensors::ReadOnlyTensorSpan<T> AsReadOnlyTensorSpan(ReadOnlySpan<System::Buffers::NRange> start);
public System.Numerics.Tensors.ReadOnlyTensorSpan<T> AsReadOnlyTensorSpan (scoped ReadOnlySpan<System.Buffers.NRange> start);
abstract member AsReadOnlyTensorSpan : ReadOnlySpan<System.Buffers.NRange> -> System.Numerics.Tensors.ReadOnlyTensorSpan<'T>
override this.AsReadOnlyTensorSpan : ReadOnlySpan<System.Buffers.NRange> -> System.Numerics.Tensors.ReadOnlyTensorSpan<'T>
Public Function AsReadOnlyTensorSpan (start As ReadOnlySpan(Of NRange)) As ReadOnlyTensorSpan(Of T)
Parameters
- start
- ReadOnlySpan<NRange>
Returns
Implements
Applies to
AsReadOnlyTensorSpan(ReadOnlySpan<IntPtr>)
- Source:
- Tensor.cs
public:
virtual 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>
override this.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
Implements
Applies to
Collaborer avec nous sur GitHub
La source de ce contenu se trouve sur GitHub, où vous pouvez également créer et examiner des problèmes et des demandes de tirage (pull requests). Pour plus d’informations, consultez notre guide du contributeur.
Commentaires
https://aka.ms/ContentUserFeedback.
Bientôt disponible : Tout au long de l’année 2024, nous abandonnerons progressivement le mécanisme de retour d’information GitHub Issues pour le remplacer par un nouveau système de commentaires. Pour plus d’informations, consultez :Soumettre et afficher des commentaires pour