Method toList2D
val toList2D: Tensor<'T> -> 'T list list
Creates a list of lists from a two-dimensional tensor.
Declaration
val toList2D: a:Tensor<'T> -> 'T list list
Parameters
| Type | Name | Description |
|---|---|---|
| Tensor<'T> | a | The tensor to operate on. |
Returns
| Type | Description |
|---|---|
| 'T list list | A list of lists containing the values from the tensor. |
Type Parameters
| Name | Description |
|---|---|
| 'T | The type of the data. |
Remarks
The data is copied.