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.