Compat aliases for migration
See Migration guide for more details.
tf.compat.v1.keras.regularizers.serialize, tf.compat.v2.keras.regularizers.serialize
tf.compat.v1.keras.regularizers.serialize
tf.compat.v2.keras.regularizers.serialize
tf.keras.regularizers.serialize( regularizer )