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