MCPcopy Create free account
hub / github.com/alibaba/nann / true_fn

Method true_fn

tensorflow/tensorflow/python/ops/parallel_for/pfor.py:507–525  ·  view source on GitHub ↗

Converts the body function for all but last iteration. This essentially converts body_output. Additionally, it needs to handle any control dependencies on the NextIteration node. So it creates another Identity node with the converted dependencies.

(control_inputs, body_pfor, body_output, stacked)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 5

_convert_helperMethod · 0.80
appendMethod · 0.45
convertMethod · 0.45
control_dependenciesMethod · 0.45
identityMethod · 0.45

Tested by

no test coverage detected