Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OAID/Tengine
/ GetParentNode
Method
GetParentNode
core/lib/node.cpp:92–98 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
90
}
91
92
Node* Node::GetParentNode(int idx)
93
{
94
NodePort* port = inputs_[idx].get();
95
Tensor* tensor = port->tensor;
96
97
return tensor->producer->owner;
98
}
99
100
float Node::GetFops(void)
101
{
Callers
3
ForwardBFS
Method · 0.80
BackwardBFS
Method · 0.80
PartitionGraph
Method · 0.80
Calls
1
get
Method · 0.80
Tested by
no test coverage detected