Missed TensorFlow World? Check out the recap. Learn more

tf.keras.backend.set_epsilon

TensorFlow 2.0 version View source on GitHub

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

Aliases:

  • tf.compat.v1.keras.backend.set_epsilon
  • tf.compat.v2.keras.backend.set_epsilon
tf.keras.backend.set_epsilon(value)

Arguments:

  • value: float. New value of epsilon. Example: python from keras import backend as K K.epsilon() >>> 1e-07 K.set_epsilon(1e-05) K.epsilon() >>> 1e-05