Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
388
void AddOperatorAttr(StaticOp* op, const std::string& attr_name, any&& val)
389
{
390
op->attrs.SetAttr(attr_name, std::move(val));
391
}
392
393
any& GetOperatorParam(StaticOp* op)
394
{
Callers
2
LoadConcat
Function · 0.85
LoadGeneric
Function · 0.85
Calls
1
SetAttr
Method · 0.45
Tested by
no test coverage detected