MCPcopy Create free account
hub / github.com/OAID/Tengine / GetGraphAttr

Method GetGraphAttr

core/include/graph_executor.hpp:133–139  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

131 }
132
133 int GetGraphAttr(const char* name, void* val, int size)
134 {
135 if(attr_io_.GetAttr(name, val, size))
136 return 0;
137 else
138 return -1;
139 }
140
141 bool GetOptimizeOnly(const char* name, void* val, int size);
142 bool SetOptimizeOnly(const char* name, const void* val, int size);

Callers 2

BailoutGetAttrMethod · 0.45
get_graph_attrFunction · 0.45

Calls 1

GetAttrMethod · 0.45

Tested by

no test coverage detected