LostTech.TensorFlow : API Documentation

Type Poisson

Namespace tensorflow.keras.losses

Parent LossFunctionWrapper

Interfaces IPoisson

Computes the Poisson loss between `y_true` and `y_pred`.

`loss = y_pred - y_true * log(y_pred)`

Usage: Usage with the `compile` API:
Show Example
p = tf.keras.losses.Poisson()
            loss = p([1., 9., 2.], [4., 8., 12.])
            print('Loss: ', loss.numpy())  # Loss: -0.35702705 

Properties

Public properties

object fn get; set;

string name get; set;

object PythonObject get;

string reduction get; set;