Compartir a través de


Tensor.ToString Método

Definición

Sobrecargas

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

Crea una representación String del Tensor<T>". />

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

Crea una representación String del TensorSpan<T>". />

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

Crea una representación String del ReadOnlyTensorSpan<T>". />

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

Source:
TensorExtensions.cs
Source:
TensorExtensions.cs

Crea una representación 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

Parámetros de tipo

T

Parámetros

tensor
Tensor<T>

El Span<T> que desea representar como una cadena.

maximumLengths

ReadOnlySpan<IntPtr>

ReadOnlySpan<nativeint>

Longitud máxima de cada dimensión

Devoluciones

Representación String del tensor

Se aplica a

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

Source:
TensorExtensions.cs
Source:
TensorExtensions.cs

Crea una representación 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

Parámetros de tipo

T

Parámetros

tensor
TensorSpan<T>

El TensorSpan<T> que desea representar como una cadena.

maximumLengths

ReadOnlySpan<IntPtr>

ReadOnlySpan<nativeint>

Longitud máxima de cada dimensión

Devoluciones

Representación String del tensor

Se aplica a

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

Source:
TensorExtensions.cs
Source:
TensorExtensions.cs

Crea una representación 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

Parámetros de tipo

T

Parámetros

tensor
ReadOnlyTensorSpan<T>

El ReadOnlyTensorSpan<T> que desea representar como una cadena.

maximumLengths

ReadOnlySpan<IntPtr>

ReadOnlySpan<nativeint>

Longitud máxima de cada dimensión

Devoluciones

Se aplica a