GetDeviceId
函数功能
用于获取Tensor的设备号。
函数原型
1
int32_t
TensorBase::GetDeviceId
()
const
;
返回参数说明
数据结构
说明
int32_t
返回设备号。
父主题:
TensorBase