tf.contrib.copy_graph.get_copied_op
Stay organized with collections
Save and categorize content based on your preferences.
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 .
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2020-10-01 UTC.
[null,null,["Last updated 2020-10-01 UTC."],[],[],null,["# tf.contrib.copy_graph.get_copied_op\n\n\u003cbr /\u003e\n\n|-----------------------------------------------------------------------------------------------------------------------------------------------------|\n| [View source on GitHub](https://github.com/tensorflow/tensorflow/blob/v1.15.0/tensorflow/contrib/copy_graph/python/util/copy_elements.py#L233-L257) |\n\nGiven an `Operation` instance from some `Graph`, returns \n\n tf.contrib.copy_graph.get_copied_op(\n org_instance, graph, scope=''\n )\n\nits namesake from `graph`, under the specified scope\n(default `\"\"`).\n\nIf a copy of `org_instance` is present in `graph` under the given\n`scope`, it will be returned.\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n| Args ---- ||\n|----------------|----------------------------------------------------------|\n| `org_instance` | An `Operation` from some `Graph`. |\n| `graph` | The `Graph` to be searched for a copr of `org_instance`. |\n| `scope` | The scope `org_instance` is present in. |\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n| Returns ------- ||\n|---|---|\n| The `Operation` copy from `graph`. ||\n\n\u003cbr /\u003e"]]