to_host
函数功能
移动Tensor到Host内存中。
函数原型
1
to_host
()
抛异常接口
分配Tensor内存失败及拷贝到Host侧失败,抛出runtime异常。
父主题:
Tensor