tf.contrib.copy_graph.copy_variable_to_graph
Given a Variable
instance from one Graph
, initializes and returns
tf.contrib.copy_graph.copy_variable_to_graph(
org_instance, to_graph, scope=''
)
a copy of it from another Graph
, under the specified scope
(default ""
).
Args |
org_instance
|
A Variable from some Graph .
|
to_graph
|
The Graph to copy the Variable to.
|
scope
|
A scope for the new Variable (default "" ).
|
Returns |
The copied Variable from to_graph .
|
Raises |
TypeError
|
If org_instance is not a Variable .
|
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."],[],[]]