IsDevice
函数功能
用于判断Tensor对象是否在Device侧。
函数原型
bool TensorBase::IsDevice() const;
返回参数说明
数据结构
说明
bool
true:在Device侧。
false:不在Device侧。
父主题:
TensorBase