Tensor.ToString Metodo

Definizione

Overload

ToString<T>(Tensor<T>, ReadOnlySpan<IntPtr>)

Crea una rappresentazione String del Tensor<T>". />

ToString<T>(TensorSpan<T>, ReadOnlySpan<IntPtr>)

Crea una rappresentazione String del TensorSpan<T>". />

ToString<T>(ReadOnlyTensorSpan<T>, ReadOnlySpan<IntPtr>)

Crea una rappresentazione String del ReadOnlyTensorSpan<T>". />

ToString<T>(Tensor<T>, ReadOnlySpan<IntPtr>)

Origine:
TensorExtensions.cs

Crea una rappresentazione String del Tensor<T>". />

public:
generic <typename T>
[System::Runtime::CompilerServices::Extension]
 static System::String ^ ToString(System::Numerics::Tensors::Tensor<T> ^ tensor, ReadOnlySpan<IntPtr> maximumLengths);
public static string ToString<T> (this System.Numerics.Tensors.Tensor<T> tensor, scoped ReadOnlySpan<IntPtr> maximumLengths);
static member ToString : System.Numerics.Tensors.Tensor<'T> * ReadOnlySpan<nativeint> -> string
<Extension()>
Public Function ToString(Of T) (tensor As Tensor(Of T), maximumLengths As ReadOnlySpan(Of IntPtr)) As String

Parametri di tipo

T

Parametri

tensor
Tensor<T>

La Span<T> che si desidera rappresentare come stringa.

maximumLengths

ReadOnlySpan<IntPtr>

ReadOnlySpan<nativeint>

Lunghezza massima di ogni dimensione

Restituisce

Rappresentazione String del tensor

Si applica a

ToString<T>(TensorSpan<T>, ReadOnlySpan<IntPtr>)

Origine:
TensorExtensions.cs

Crea una rappresentazione String del TensorSpan<T>". />

public:
generic <typename T>
[System::Runtime::CompilerServices::Extension]
 static System::String ^ ToString(System::Numerics::Tensors::TensorSpan<T> % tensor, ReadOnlySpan<IntPtr> maximumLengths);
public static string ToString<T> (this in System.Numerics.Tensors.TensorSpan<T> tensor, scoped ReadOnlySpan<IntPtr> maximumLengths);
static member ToString : TensorSpan * ReadOnlySpan<nativeint> -> string
<Extension()>
Public Function ToString(Of T) (ByRef tensor As TensorSpan(Of T), maximumLengths As ReadOnlySpan(Of IntPtr)) As String

Parametri di tipo

T

Parametri

tensor
TensorSpan<T>

La TensorSpan<T> che si desidera rappresentare come stringa.

maximumLengths

ReadOnlySpan<IntPtr>

ReadOnlySpan<nativeint>

Lunghezza massima di ogni dimensione

Restituisce

Rappresentazione String del tensor

Si applica a

ToString<T>(ReadOnlyTensorSpan<T>, ReadOnlySpan<IntPtr>)

Origine:
TensorExtensions.cs

Crea una rappresentazione String del ReadOnlyTensorSpan<T>". />

public:
generic <typename T>
[System::Runtime::CompilerServices::Extension]
 static System::String ^ ToString(System::Numerics::Tensors::ReadOnlyTensorSpan<T> % tensor, ReadOnlySpan<IntPtr> maximumLengths);
public static string ToString<T> (this in System.Numerics.Tensors.ReadOnlyTensorSpan<T> tensor, scoped ReadOnlySpan<IntPtr> maximumLengths);
static member ToString : ReadOnlyTensorSpan * ReadOnlySpan<nativeint> -> string
<Extension()>
Public Function ToString(Of T) (ByRef tensor As ReadOnlyTensorSpan(Of T), maximumLengths As ReadOnlySpan(Of IntPtr)) As String

Parametri di tipo

T

Parametri

tensor
ReadOnlyTensorSpan<T>

La ReadOnlyTensorSpan<T> che si desidera rappresentare come stringa.

maximumLengths

ReadOnlySpan<IntPtr>

ReadOnlySpan<nativeint>

Lunghezza massima di ogni dimensione

Restituisce

Si applica a