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