tf.keras.layers.deserialize

Returns a Keras layer object via its configuration.

config A python dict containing a serialized layer configuration.
custom_objects Optional dictionary mapping names (strings) to custom objects (classes and functions) to be considered during deserialization.

A Keras layer instance.