Method toArray2D
val toArray2D: Tensor<'T> -> 'T [,]
Creates an array from a two-dimensional tensor.
Declaration
val toArray2D: a:Tensor<'T> -> 'T [,]
Parameters
Type | Name | Description |
---|---|---|
Tensor<'T> | a | The tensor to operate on. |
Returns
Type | Description |
---|---|
'T [,] | An array containing the values from the tensor. |
Type Parameters
Name | Description |
---|---|
'T | The type of the data. |
Remarks
The data is copied.