将Tensor对象部署到Device侧内存。
1
APP_ERROR TensorBase::ToDevice(int32_t deviceId);
参数名
输入/输出
说明
deviceId
输入
设备号。
数据结构
APP_ERROR
程序执行返回的错误码,请参考APP_ERROR说明。