View source on GitHub |
Computes the Poisson loss between y_true
& y_pred
.
Inherits From: Loss
tf.keras.losses.Poisson(
reduction='sum_over_batch_size', name='poisson'
)
Formula:
loss = y_pred - y_true * log(y_pred)
Methods
call
call(
y_true, y_pred
)
from_config
@classmethod
from_config( config )
get_config
get_config()
__call__
__call__(
y_true, y_pred, sample_weight=None
)
Call self as a function.