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