Method transfer
val transfer: Tensor<'T> -> Tensor<'T>
Transfers a tensor to the host 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 host device. |
Type Parameters
Name | Description |
---|---|
'T | The data type of the tensor. |