tf.keras.utils.deserialize_keras_object

Turns the serialized form of a Keras object back into an actual object.