to_host

函数功能

搬移image到Host内存中。

函数原型

1
to_host()

抛异常接口

调用Tensor的to_host函数失败,抛出runtime异常。