tf.keras.losses.serialize

TensorFlow 2 version View source on GitHub