Method ofArray2D
val ofArray2D: 'T [,] -> Tensor<'T>
Creates a two-dimensional tensor copying the specified data.
Declaration
val ofArray2D: data:'T [,] -> Tensor<'T>
Parameters
Type | Name | Description |
---|---|---|
'T [,] | data | The data array to use. |
Returns
Type | Description |
---|---|
Tensor<'T> | A tensor using filled with the values from |
Type Parameters
Name | Description |
---|---|
'T | The type of the data. |
Remarks
The data is copied.