根据TensorBuffer对象中的deviceId,设置线程的Context。
APP_ERROR SetContext() const;
数据结构
说明
APP_ERROR
程序执行返回的错误码,请参考“MxBase/ErrorCode/ErrorCode.h”文件。