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

Method IsControlEdge

tensorflow/core/graph/graph.h:982–986  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

980}
981
982inline bool Edge::IsControlEdge() const {
983 // Note that if either src_output_ or dst_input_ is kControlSlot,
984 // so is the other one (AddEdge checks this).
985 return src_output_ == Graph::kControlSlot;
986}
987
988inline gtl::iterator_range<NodeIter> Graph::nodes() const {
989 // Note that NodeId 0 is always valid since we don't let the source

Callers 15

GetInputNodesInfoFunction · 0.45
CheckReshapeNodeFunction · 0.45
InternalFindUniqueNodeFunction · 0.45
CheckInputDefaultValNodeFunction · 0.45
FoldConstantsFunction · 0.45
GraphToFunctionDefFunction · 0.45
AddStrictInputSemanticsFunction · 0.45
InlineFunctionCallsFunction · 0.45
AddConversionMappingMethod · 0.45
AddInputsMethod · 0.45

Calls

no outgoing calls

Tested by 4

TEST_FFunction · 0.36
AddOutputIdentitiesFunction · 0.36
VerifyGraphFunction · 0.36