TensorSpan<T>.ToString 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
| ToString(ReadOnlySpan<IntPtr>) |
Creates a String representation of the tensor. |
| ToString() |
For Span<T>, returns a new instance of string that represents the characters pointed to by the span. Otherwise, returns a String with the name of the type and the number of elements. |
ToString(ReadOnlySpan<IntPtr>)
- Source:
- TensorSpan_1.cs
Creates a String representation of the tensor.
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<nativeint>
The maximum number of elements to print for each dimension of the tensor.
Returns
A String representation of the tensor.
Applies to
ToString()
- Source:
- TensorSpan_1.cs
- Source:
- TensorSpan.cs
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.