to_host
Function Usage
Moves a tensor to the host memory.
Prototype
1 | to_host() |
Exception Throwing Interface
If the tensor memory fails to be allocated and copied to the host, a runtime exception is thrown.
Parent topic: Tensor
Moves a tensor to the host memory.
1 | to_host() |
If the tensor memory fails to be allocated and copied to the host, a runtime exception is thrown.