Module: tf.keras.losses

Defined in tensorflow/_api/v1/keras/losses/__init__.py.

Built-in loss functions.

Functions

KLD(...)

MAE(...)

MAPE(...)

MSE(...)

MSLE(...)

binary_crossentropy(...)

categorical_crossentropy(...)

categorical_hinge(...)

cosine(...)

cosine_proximity(...)

deserialize(...)

get(...)

hinge(...)

kld(...)

kullback_leibler_divergence(...)

logcosh(...): Logarithm of the hyperbolic cosine of the prediction error.

mae(...)

mape(...)

mean_absolute_error(...)

mean_absolute_percentage_error(...)

mean_squared_error(...)

mean_squared_logarithmic_error(...)

mse(...)

msle(...)

poisson(...)

serialize(...)

sparse_categorical_crossentropy(...)

squared_hinge(...)