Main aliases
tf.losses.serialize
Compat aliases for migration
See Migration guide for more details.
tf.compat.v1.keras.losses.serialize, tf.compat.v2.keras.losses.serialize, tf.compat.v2.losses.serialize
tf.compat.v1.keras.losses.serialize
tf.compat.v2.keras.losses.serialize
tf.compat.v2.losses.serialize
tf.keras.losses.serialize( loss )