tf.keras.constraints.serialize

TensorFlow 2 version View source on GitHub