# tfl.premade.get_custom_objects

<br />

|---|
| [![](https://www.tensorflow.org/images/GitHub-Mark-32px.png) View source on GitHub](https://github.com/tensorflow/lattice/blob/v2.1.1/tensorflow_lattice/python/premade.py#L504-L587) |

Creates and returns a dictionary mapping names to custom objects.

    tfl.premade.get_custom_objects(
        custom_objects=None
    )

<br />

<br />

<br />

| ## Args ||
|---|---|
| `custom_objects` | Optional dictionary mapping names (strings) to custom classes or functions to be considered during deserialization. If provided, the returned mapping will be extended to contain this one. |

<br />

<br />

<br />

<br />

| ## Returns ||
|---|---|
| A dictionary mapping names (strings) to tensorflow lattice custom objects. ||

<br />