25 const char *model_data_raw,
bool dealloc_input)
27 const circle::Model *model = circle::GetModel(model_data_raw);
30 if (!reader.
parse(model))
31 assert(
false &&
"Error during parse");
36 assert(
false &&
"Error during select subgraph");
37 runtime_module->
addGraph(memory_manager);
39#ifndef USE_STATIC_ALLOC
51#ifdef USE_STATIC_ALLOC
52 runtime_graph->configure_kernels();
Loads Circle file and provides helpers to access attributes.
bool select_subgraph(uint32_t subgraph)
bool parse(const circle::Model *model)
uint32_t num_subgraph() const
static void checkInplaceOps(CircleReader *reader, RuntimeGraph *runtime_graph)
void configure(bool dealloc_input)
BaseRuntimeGraph * getRuntimeGraphAt(uint32_t pos)
RuntimeGraph * addGraph(IMemoryManager *memory_manager)
CircleReader & getCircleReader()