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

Function InputFrame

tensorflow/core/graph/graph_partition.cc:761–769  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

759}
760
761const Node* InputFrame(const Node* node,
762 const std::vector<ControlFlowInfo>& cf_info) {
763 // An input is in the same frame as the node except for Enter nodes.
764 // The input of Enter is in the parent frame of the Enter node.
765 if (!node->IsEnter()) {
766 return node;
767 }
768 return cf_info[node->id()].parent_frame;
769}
770
771const Node* OutputFrame(const Node* node,
772 const std::vector<ControlFlowInfo>& cf_info) {

Callers 1

AddControlFlowFunction · 0.85

Calls 2

IsEnterMethod · 0.80
idMethod · 0.45

Tested by

no test coverage detected