tf.keras.losses.serialize

tf.keras.losses.serialize(loss)

Defined in tensorflow/python/keras/losses.py.