Spec-Zone.ru › TensorFlow 1.15

tf.contrib.framework.global_variable

Создать переменную со значением и добавить её в GraphKeys.GLOBAL_VARIABLES.

tf.contrib.framework.global_variable(
    initial_value, validate_shape=True, name=None, use_resource=None
)
Аргументы
initial_value См. variables.Variable.init.
validate_shape См. variables.Variable.init.
name См. variables.Variable.init.
use_resource Если True использовать ResourceVariable вместо 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/framework/global_variable

Spec-Zone.ru

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