Sets the learning phase to a fixed value.
Compat aliases for migration
See Migration guide for more details.
tf.compat.v1.keras.backend.set_learning_phase, tf.compat.v2.keras.backend.set_learning_phase
tf.compat.v1.keras.backend.set_learning_phase
tf.compat.v2.keras.backend.set_learning_phase
tf.keras.backend.set_learning_phase( value )
value
ValueError
0
1