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

Function AddControlFlow

tensorflow/core/graph/graph_partition.cc:592–739  ·  view source on GitHub ↗

Each participating device needs to decide a) if there is a next iteration, and b) if the loop terminates. We take the approach to encode this control flow logic in the dataflow graph. There are at least two possible encodings. In a completely decentralized encoding, the participants communicate peer to peer. The other encoding uses a frame leader (the participant who owns the pivot termination pre

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

PartitionFunction · 0.85

Calls 15

BuildControlFlowInfoFunction · 0.85
IsLoopCondFunction · 0.85
OutputFrameFunction · 0.85
InputFrameFunction · 0.85
AddControlConstFunction · 0.85
AddControlFlowInfoFunction · 0.85
InvalidArgumentFunction · 0.85
AddControlLoopFunction · 0.85
num_node_idsMethod · 0.80
FindNodeIdMethod · 0.80
num_edge_idsMethod · 0.80

Tested by

no test coverage detected