Watch keynotes, product sessions, workshops, and more from Google I/O See playlist

tf.keras.losses.serialize

TensorFlow 1 version View source on GitHub

Serializes loss function or Loss instance.

loss A Keras Loss instance or a loss function.

Loss configuration dictionary.