Missed TensorFlow World? Check out the recap. Learn more

tf.keras.losses.serialize

TensorFlow 2 version View source on GitHub

Aliases:

tf.keras.losses.serialize(loss)