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

Function IsControlFlowV1Node

tensorflow/compiler/tf2xla/resource_util.cc:53–56  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

51 source_to_path);
52
53bool IsControlFlowV1Node(const Node* n) {
54 return (n->IsEnter() || n->IsExit() || n->IsSwitch() || n->IsMerge() ||
55 n->IsNextIteration());
56}
57
58// TODO(ycao): Add this as Tensorflow Node method.
59StatusOr<absl::InlinedVector<const Edge*, 1>> OutputEdgesByIndex(const Node& n,

Callers 1

AnalyzeResourceUsageFunction · 0.85

Calls 5

IsEnterMethod · 0.80
IsExitMethod · 0.80
IsSwitchMethod · 0.80
IsMergeMethod · 0.80
IsNextIterationMethod · 0.80

Tested by

no test coverage detected