tf.keras.backend.set_epsilon

tf.keras.backend.set_epsilon(value)

Defined in tensorflow/python/keras/backend.py.

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

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