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