contrib.graph_editor.swap_ts

tf.contrib.graph_editor.swap_ts

tf.contrib.graph_editor.swap_ts

swap_ts(
    ts0,
    ts1,
    can_modify=None,
    cannot_modify=None
)

Defined in tensorflow/contrib/graph_editor/reroute.py.

See the guide: Graph Editor (contrib) > Module: reroute

For each tensor's pair, swap the end of (t0,t1).

B0 B1 B0