tf.keras.utils.get_registered_name

View source on GitHub

Returns the name registered to an object within the Keras framework.

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.

obj The object to look up.

The name associated with the object, or the default Python name if the object is not registered.