tf.contrib.copy_graph.get_copied_op
Given an Operation instance from some Graph, returns
tf.contrib.copy_graph.get_copied_op(
org_instance, graph, scope=''
)
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. |
| Returns | |
|---|---|
The Operation copy from graph. |
© 2020 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/versions/r1.15/api_docs/python/tf/contrib/copy_graph/get_copied_op