MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / EraseNodesFromGraph

Function EraseNodesFromGraph

tensorflow/core/grappler/utils.cc:460–463  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

458} // namespace
459
460void EraseNodesFromGraph(const std::set<int>& nodes_to_delete,
461 GraphDef* graph) {
462 EraseNodesFromGraphImpl(nodes_to_delete, graph);
463}
464
465void EraseNodesFromGraph(std::vector<int>&& nodes_to_delete, GraphDef* graph) {
466 STLSortAndRemoveDuplicates(&nodes_to_delete);

Callers 4

FoldGraphMethod · 0.85
RemoveDeadBranchesMethod · 0.85
DedupComputationsMethod · 0.85
OptimizeDependenciesMethod · 0.85

Calls 8

EraseNodesFromGraphImplFunction · 0.85
nameMethod · 0.65
reserveMethod · 0.45
sizeMethod · 0.45
countMethod · 0.45
nodeMethod · 0.45
push_backMethod · 0.45

Tested by

no test coverage detected