获得Tensor数据所在的芯片的编号。
1
int32_t Tensor::GetDeviceId() const;
数据结构
说明
int32_t
Tensor数据所在的芯片的编号(-1代表在Host侧)。