tf.keras.config.enable_unsafe_deserialization

Disables safe mode globally, allowing deserialization of lambdas.