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

BuildIRModel

Function Prototype

bool BuildIRModel(ge::Model& irModel,ModelBufferData& output);

Function Description

Builds an offline model, with a model object as the input and an offline model as the output.

Parameter Description

Parameter

Input/Output

Type

Description

irModel

Input

ge::Model&

Model object

output

Output

ModelBufferData&

Offline model struct object

struct ModelBufferData

{

void* data;

uint32_t length;

};

Return Value

Parameter

Type

Description

-

bool

  • true: The model is successfully created.
  • false: The model fails to be created.

Exception Handling

None

Restriction

None