MCPcopy 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
92Node* Node::GetParentNode(int idx)
93{
94 NodePort* port = inputs_[idx].get();
95 Tensor* tensor = port->tensor;
96
97 return tensor->producer->owner;
98}
99
100float Node::GetFops(void)
101{

Callers 3

ForwardBFSMethod · 0.80
BackwardBFSMethod · 0.80
PartitionGraphMethod · 0.80

Calls 1

getMethod · 0.80

Tested by

no test coverage detected