contrib.copy_graph.get_copied_op
tf.contrib.copy_graph.get_copied_op
tf.contrib.copy_graph.get_copied_op
get_copied_op( org_instance, graph, scope='' )
Defined in tensorflow/contrib/copy_graph/python/util/copy_elements.py
.
Given an Operation
instance from some Graph
, returns its namesake from graph
, under the specified scope (default ""
).
If a copy of org_instance
is present in graph
under the given scope
, it will be returned.
Args:
-
org_instance
: AnOperation
from someGraph
. -
graph
: TheGraph
to be searched for a copr oforg_instance
. -
scope
: The scopeorg_instance
is present in.
Returns:
The Operation
copy from graph
.
© 2017 The TensorFlow Authors. All rights reserved.
Licensed under the Creative Commons Attribution License 3.0.
Code samples licensed under the Apache 2.0 License.
https://www.tensorflow.org/api_docs/python/tf/contrib/copy_graph/get_copied_op