TensorFlow 2.0 Beta is available Learn more

tf.keras.backend.epsilon

TensorFlow 2.0 version View source on GitHub

Returns the value of the fuzz factor used in numeric expressions.

Aliases:

  • tf.compat.v1.keras.backend.epsilon
  • tf.compat.v2.keras.backend.epsilon
tf.keras.backend.epsilon()

Returns:

A float.

Example:

keras.backend.epsilon() >>>1e-07