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

Function NodeInGraph

executor/lib/graph_optimizer.cpp:625–636  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

623}
624
625static bool NodeInGraph(Node* node, Graph* graph)
626{
627 int number = graph->seq_nodes.size();
628
629 for(int i = 0; i < number; i++)
630 {
631 if(node == graph->seq_nodes[i])
632 return true;
633 }
634
635 return false;
636}
637
638/* the graph optimizer: conv_relu */
639static bool GraphFuseConvReLuCommon(Graph* graph, GraphOptimizer* opt, bool relu6)

Callers 2

ReplaceMethod · 0.85
GraphFuseConvReLuCommonFunction · 0.85

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected