Returns the name registered to an object within the Keras framework.
tf.keras.utils.get_registered_name( obj )
This function is part of the Keras serialization and deserialization framework. It maps objects to the string names associated with those objects for serialization/deserialization.
Args | |
---|---|
obj | The object to look up. |
Returns | |
---|---|
The name associated with the object, or the default Python name if the object is not registered. |
© 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/r2.3/api_docs/python/tf/keras/utils/get_registered_name