Method transfer
val transfer: Tensor<'T> -> Tensor<'T>
Transfers a tensor to the CUDA device.
Declaration
val transfer: a:Tensor<'T> -> Tensor<'T>
Parameters
| Type | Name | Description |
|---|---|---|
| Tensor<'T> | a | The tensor to transfer. |
Returns
| Type | Description |
|---|---|
| Tensor<'T> | A tensor on the CUDA device. |
Type Parameters
| Name | Description |
|---|---|
| 'T | The data type of the tensor. |