Moves an image to the host memory.
1
to_host()
If the to_host function of tensor fails to be called, a runtime exception is thrown.