IsHost

函数功能

用于判断Tensor对象是否在Host侧。

函数原型

1
bool TensorBase::IsHost() const;

返回参数说明

数据结构

说明

bool

  • true:在Host侧。
  • false:不在Host侧。