Updated on 2022-03-13 GMT+08:00

Obtaining the OamConfig Smart Pointer

Obtains the OamConfig smart pointer, that is, to obtain OAM configuration information, including the model name, whether to enable the dump function, and layers at which operators need to be dumped in the model. This API is defined in engine.h.

Syntax

OAMConfigDef* GetOamConfig();

Parameter Description

None

Return Value

OamConfig smart pointer. For details about the definition of the OAMConfigDef type, see Protobuf Data Types.