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

Method SetGraphAttr

core/include/graph_executor.hpp:125–131  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

123 }
124
125 int SetGraphAttr(const char* name, const void* val, int size)
126 {
127 if(attr_io_.SetAttr(name, val, size))
128 return 0;
129 else
130 return -1;
131 }
132
133 int GetGraphAttr(const char* name, void* val, int size)
134 {

Callers 2

BailoutSetAttrMethod · 0.45
set_graph_attrFunction · 0.45

Calls 1

SetAttrMethod · 0.45

Tested by

no test coverage detected