Spec-Zone.ru › TensorFlow

tf.keras.name_scope

Creates a sub-namespace for variable paths.

View aliases

Compat aliases for migration

See Migration guide for more details.

tf.compat.v1.keras.name_scope

tf.keras.name_scope(
    name, **kwargs
)
Args
name Name of the current scope (string).
caller Optional ID of a caller object (e.g. class instance).
deduplicate If True, if caller was passed, and the previous caller matches the current caller, and the previous name matches the current name, do not reenter a new namespace.
override_parent Can be used to provide an absolute path which would override any previously opened name scopes.

Methods

__enter__

View source

__enter__()

__exit__

View source

__exit__(
    *args, **kwargs
)

© 2022 The TensorFlow Authors. All rights reserved.
Licensed under the Creative Commons Attribution License 4.0.
Code samples licensed under the Apache 2.0 License.
https://www.tensorflow.org/api_docs/python/tf/keras/name_scope

Spec-Zone.ru

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