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

Method IsControlFlow

tensorflow/core/graph/graph.h:247–251  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

245 return class_ == NC_DELETE_SESSION_TENSOR;
246 }
247 bool IsControlFlow() const {
248 return (class_ != NC_OTHER) && // Fast path
249 (IsSwitch() || IsMerge() || IsEnter() || IsExit() ||
250 IsNextIteration());
251 }
252 bool IsHostSend() const { return class_ == NC_HOST_SEND; }
253 bool IsHostRecv() const { return class_ == NC_HOST_RECV; }
254 bool IsHostFuseRecv() const { return class_ == NC_HOST_FUSE_RECV; }

Callers 10

SearchForAGoodTriggerFunction · 0.80
RunMethod · 0.80
RunMethod · 0.80
IsConstantFoldableFunction · 0.80
PruneFunctionBodyFunction · 0.80
RemoveDeadNodesFunction · 0.80
InitializeMethod · 0.80
MarkComputeGraphFunction · 0.80
MarkComputeGraphMethod · 0.80
IsControlFlowFunction · 0.80

Calls 5

IsSwitchFunction · 0.70
IsMergeFunction · 0.70
IsEnterFunction · 0.70
IsExitFunction · 0.70
IsNextIterationFunction · 0.70

Tested by

no test coverage detected