Spec-Zone.ru › TensorFlow 1.15

tf.contrib.framework.local_variable

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

tf.contrib.framework.local_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/local_variable

Spec-Zone.ru

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