tf.contrib.copy_graph.get_copied_op(org_instance, graph, scope='')
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: An Operation
from some Graph
. graph: The Graph
to be searched for a copr of org_instance
. scope: The scope org_instance
is present in.
The `Operation` copy from `graph`.
Defined in tensorflow/contrib/copy_graph/python/util/copy_elements.py
.
© 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