SetContext
Function Usage
Sets the context of a thread based on the device ID of the TensorBuffer object.
Prototype
APP_ERROR SetContext() const;
Return Parameter Description
Data Structure |
Description |
|---|---|
APP_ERROR |
Error code returned during program execution. For details, see the MxBase/ErrorCode/ErrorCode.h file. |
Parent topic: TensorBuffer