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

Function AddOperatorAttr

core/lib/static_graph.cpp:388–391  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

386}
387
388void AddOperatorAttr(StaticOp* op, const std::string& attr_name, any&& val)
389{
390 op->attrs.SetAttr(attr_name, std::move(val));
391}
392
393any& GetOperatorParam(StaticOp* op)
394{

Callers 2

LoadConcatFunction · 0.85
LoadGenericFunction · 0.85

Calls 1

SetAttrMethod · 0.45

Tested by

no test coverage detected