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

Function OutputFrame

tensorflow/core/graph/graph_partition.cc:771–779  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

769}
770
771const Node* OutputFrame(const Node* node,
772 const std::vector<ControlFlowInfo>& cf_info) {
773 // An output is in the same frame as the node except for Exit nodes.
774 // The output of Exit is in the parent frame of the Exit node.
775 if (!node->IsExit()) {
776 return node;
777 }
778 return cf_info[node->id()].parent_frame;
779}
780
781struct PriorityTopoSortNode {
782 PriorityTopoSortNode(const NodeDef* n, int64 st) : node(n), start_time(st) {}

Callers 1

AddControlFlowFunction · 0.85

Calls 2

IsExitMethod · 0.80
idMethod · 0.45

Tested by

no test coverage detected