tf.contrib.graph_editor.reroute_b2a_ts(ts0, ts1, can_modify=None, cannot_modify=None)
For each tensor's pair, replace the end of t0 by the end of t1.
B0 B1 B0 B1 | | => | A0 A1 A0 A1
The end of the tensors in ts0 are left dangling.
Args:
ts0: an object convertible to a list of tf.Tensor.
ts1: an object convertible to a list of tf.Tensor.
can_modify: iterable of operations which can be modified. Any operation outside within_ops will be left untouched by this function.
cannot_modify: iter