# tf.keras.saving.get_registered_name

<br />

|---|
| [![](https://www.tensorflow.org/images/GitHub-Mark-32px.png) View source on GitHub](https://github.com/keras-team/keras/tree/v2.13.1/keras/saving/object_registration.py#L161-L181) |

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

#### View aliases


**Main aliases**

[`tf.keras.utils.get_registered_name`](https://www.tensorflow.org/api_docs/python/tf/keras/saving/get_registered_name)
**Compat aliases for migration**

See
[Migration guide](https://www.tensorflow.org/guide/migrate) for
more details.

\`tf.compat.v1.keras.saving.get_registered_name\`, \`tf.compat.v1.keras.utils.get_registered_name\`

<br />

    tf.keras.saving.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.

<br />

<br />

<br />

| ## Args ||
|---|---|
| `obj` | The object to look up. |

<br />

<br />

<br />

<br />

| ## Returns ||
|---|---|
| The name associated with the object, or the default Python name if the object is not registered. ||

<br />