tf.contrib.graph_editor.copy_with_input_replacements(sgv, replacement_ts, dst_graph=None, dst_scope='', src_scope='', reuse_dst_scope=False)
Copy a subgraph, replacing some of its inputs.
Note a replacement only happens if the tensor to be replaced is an input of the given subgraph. The inputs of a subgraph can be queried using sgv.inputs.
Args:
sgv: the source subgraph-view. This argument is converted to a subgraph using the same rules as the function subgraph.make_view.
replacement_ts: dic