Share via


Tensor<T>.ToString Method

Definition

Overloads

ToString(ReadOnlySpan<IntPtr>)

Creates a String representation of the TensorSpan<T>."/>

ToString()

Returns the string representation of the tensor.

ToString(ReadOnlySpan<IntPtr>)

Source:
Tensor_1.cs
Source:
Tensor.cs

Creates a String representation of the TensorSpan<T>."/>

public:
 System::String ^ ToString(ReadOnlySpan<IntPtr> maximumLengths);
public string ToString(scoped ReadOnlySpan<IntPtr> maximumLengths);
override this.ToString : ReadOnlySpan<nativeint> -> string
Public Function ToString (maximumLengths As ReadOnlySpan(Of IntPtr)) As String

Parameters

maximumLengths

ReadOnlySpan<IntPtr>

ReadOnlySpan<nativeint>

Maximum Length of each dimension

Returns

A String representation of the Tensor<T>

Applies to

ToString()

Source:
Tensor_1.cs

Returns the string representation of the tensor.

public:
 override System::String ^ ToString();
public override string ToString();
override this.ToString : unit -> string
Public Overrides Function ToString () As String

Returns

The string representation of the tensor.

Applies to