Help protect the Great Barrier Reef with TensorFlow on Kaggle Join Challenge

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.