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.