MCPcopy Create free account
hub / github.com/benoitsteiner/tensorflow-opencl / BuildWhileLoop

Function BuildWhileLoop

tensorflow/cc/ops/while_loop.cc:172–247  ·  view source on GitHub ↗

A while loop with a single loop variable looks like this: (output) ^ +---------------+ | | body subgraph +-------------+ Exit +---------------+ | ^ ^ | | | | Switch<--------+ v ^ | NextIteration | +------+--------+ | +---->| cond subgraph | | | +----------

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 7

TEST_FFunction · 0.85
TF_FinishWhileHelperFunction · 0.85
CreateLoopMethod · 0.85
AddForwardLoopCounterFunction · 0.85
AddBackPropLoopCounterFunction · 0.85
AddWhileGradientLoopFunction · 0.85
CreateLoopMethod · 0.85

Calls 15

CreateMergeFunction · 0.85
CreateCondFunction · 0.85
CreateBodyFunction · 0.85
NextIterationFunction · 0.85
NextIterationNameFunction · 0.85
ToNodesFunction · 0.85
ToOutputTensorFunction · 0.85
ToOutputTensorsFunction · 0.85
set_while_ctxMethod · 0.80
EnterFunction · 0.50
SwitchFunction · 0.50
ExitFunction · 0.50

Tested by 3

TEST_FFunction · 0.68
CreateLoopMethod · 0.68
CreateLoopMethod · 0.68