Spec-Zone.ru › TensorFlow 1.15

tf.contrib.copy_graph.copy_variable_to_graph

Учитывая экземпляр Variable из одной Graph, инициализирует и возвращает

tf.contrib.copy_graph.copy_variable_to_graph(
    org_instance, to_graph, scope=''
)

копию из другой Graph, в указанном scope (по умолчанию "").

Аргументы
org_instance Переменная Variable из некоторой Graph.
to_graph Граф Graph, в который копируется Variable .
scope Scope для новой Variable (по умолчанию "").
Возвращаемое значение
Скопированная Variable из to_graph.
Исключения
TypeError Если org_instance не является Variable.

© 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/copy_variable_to_graph

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API