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

Method IsSwitch

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

Source from the content-addressed store, hash-verified

211 }
212 bool IsPlaceholder() const { return type_string() == "Placeholder"; }
213 bool IsSwitch() const { return class_ == NC_SWITCH; }
214 bool IsMerge() const { return class_ == NC_MERGE; }
215 bool IsEnter() const { return class_ == NC_ENTER; }
216 bool IsExit() const { return class_ == NC_EXIT; }

Callers 15

testIsSwitchMethod · 0.80
testIsCondSwitchMethod · 0.80
testIsLoopSwitchMethod · 0.80
ZerosLikeMethod · 0.80
ZerosLikeOutsideLoopFunction · 0.80
_GradientsHelperFunction · 0.80
createOperationMethod · 0.80
CompileMethod · 0.80
IsControlFlowV1NodeFunction · 0.80
PropagateShapesFunction · 0.80
HandleNodeMethod · 0.80

Calls

no outgoing calls

Tested by 7

testIsSwitchMethod · 0.64
testIsCondSwitchMethod · 0.64
testIsLoopSwitchMethod · 0.64
TESTFunction · 0.64
TESTFunction · 0.64
TESTFunction · 0.64
TESTFunction · 0.64