Home
last modified time | relevance | path

Searched refs:learning_phase (Results 1 – 17 of 17) sorted by relevance

/external/tensorflow/tensorflow/python/keras/
Dbackend_test.py129 initial_learning_phase = keras.backend.learning_phase()
131 self.assertEqual(keras.backend.learning_phase(), 1)
132 self.assertEqual(keras.backend.learning_phase(), initial_learning_phase)
134 self.assertEqual(keras.backend.learning_phase(), 0)
135 self.assertEqual(keras.backend.learning_phase(), initial_learning_phase)
139 self.assertEqual(keras.backend.learning_phase(), initial_learning_phase)
143 self.assertEqual(keras.backend.learning_phase(), new_learning_phase)
145 self.assertEqual(keras.backend.learning_phase(), 1)
146 self.assertEqual(keras.backend.learning_phase(), new_learning_phase)
149 initial_learning_phase_outside_graph = keras.backend.learning_phase()
[all …]
Dcallbacks_v1.py443 if not isinstance(K.learning_phase(), int):
444 feed_dict[K.learning_phase()] = False
Dbackend.py253 def learning_phase(): function
387 previous_value = learning_phase()
3739 training = learning_phase()
/external/tensorflow/tensorflow/examples/saved_model/integration_tests/
Dutil.py98 training = tf.keras.backend.learning_phase() # Could be a tensor.
/external/tensorflow/tensorflow/python/keras/engine/
Dtraining_distributed.py321 strategy=current_strategy, learning_phase=1)
484 strategy=current_strategy, learning_phase=0)
625 strategy=current_strategy, learning_phase=0)
Ddistributed_training_utils.py904 def distributed_scope(strategy, learning_phase): argument
905 with strategy.scope(), K.learning_phase_scope(learning_phase):
Dtraining_generator.py187 old_learning_phase = backend.learning_phase()
Dtraining_arrays.py147 learning_phase=(1 if mode == ModeKeys.TRAIN else 0))
Dbase_layer_test.py315 training = keras.backend.learning_phase()
Dbase_layer.py598 kwargs['training'] = backend.learning_phase()
/external/tensorflow/tensorflow/contrib/keras/api/keras/backend/
D__init__.py82 from tensorflow.python.keras.backend import learning_phase
/external/tensorflow/tensorflow/python/keras/saving/
Dsaved_model_test.py209 phase = keras.backend.learning_phase()
/external/tensorflow/tensorflow/python/keras/layers/
Dcore.py150 training = K.learning_phase()
Dnormalization.py570 training = K.learning_phase()
/external/tensorflow/tensorflow/tools/api/golden/v2/
Dtensorflow.keras.backend.pbtxt252 name: "learning_phase"
/external/tensorflow/tensorflow/tools/api/golden/v1/
Dtensorflow.keras.backend.pbtxt256 name: "learning_phase"
/external/tensorflow/tensorflow/contrib/tpu/python/tpu/
Dkeras_support.py1681 if not isinstance(K.learning_phase(), int):