tf.keras.backend.set_epsilon

TensorFlow 1 version View source on GitHub

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

value float. New value of epsilon.

Example:

tf.keras.backend.epsilon() 1e-07 tf.keras.backend.set_epsilon(1e-5) tf.keras.backend.epsilon() 1e-05 tf.keras.backend.set_epsilon(1e-7)