文档中心to_host()Back to Top to_host() Function UsageMoves a tensor to the host memory. Exception Throwing InterfaceIf the tensor memory fails to be allocated and copied to the host, the runtime exception is thrown. Parent topic: Tensor