GetDeviceId 函数功能获得Tensor数据所在的芯片的编号。 函数原型int32_t GetDeviceId() const 返回参数说明 数据结构 说明 int32_t Tensor数据所在的芯片的编号(-1代表在Host侧)。 父主题: Tensor