Searched refs:learning_phase (Results 1 – 17 of 17) sorted by relevance
/external/tensorflow/tensorflow/python/keras/ |
D | backend_test.py | 129 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 …]
|
D | callbacks_v1.py | 443 if not isinstance(K.learning_phase(), int): 444 feed_dict[K.learning_phase()] = False
|
D | backend.py | 253 def learning_phase(): function 387 previous_value = learning_phase() 3739 training = learning_phase()
|
/external/tensorflow/tensorflow/examples/saved_model/integration_tests/ |
D | util.py | 98 training = tf.keras.backend.learning_phase() # Could be a tensor.
|
/external/tensorflow/tensorflow/python/keras/engine/ |
D | training_distributed.py | 321 strategy=current_strategy, learning_phase=1) 484 strategy=current_strategy, learning_phase=0) 625 strategy=current_strategy, learning_phase=0)
|
D | distributed_training_utils.py | 904 def distributed_scope(strategy, learning_phase): argument 905 with strategy.scope(), K.learning_phase_scope(learning_phase):
|
D | training_generator.py | 187 old_learning_phase = backend.learning_phase()
|
D | training_arrays.py | 147 learning_phase=(1 if mode == ModeKeys.TRAIN else 0))
|
D | base_layer_test.py | 315 training = keras.backend.learning_phase()
|
D | base_layer.py | 598 kwargs['training'] = backend.learning_phase()
|
/external/tensorflow/tensorflow/contrib/keras/api/keras/backend/ |
D | __init__.py | 82 from tensorflow.python.keras.backend import learning_phase
|
/external/tensorflow/tensorflow/python/keras/saving/ |
D | saved_model_test.py | 209 phase = keras.backend.learning_phase()
|
/external/tensorflow/tensorflow/python/keras/layers/ |
D | core.py | 150 training = K.learning_phase()
|
D | normalization.py | 570 training = K.learning_phase()
|
/external/tensorflow/tensorflow/tools/api/golden/v2/ |
D | tensorflow.keras.backend.pbtxt | 252 name: "learning_phase"
|
/external/tensorflow/tensorflow/tools/api/golden/v1/ |
D | tensorflow.keras.backend.pbtxt | 256 name: "learning_phase"
|
/external/tensorflow/tensorflow/contrib/tpu/python/tpu/ |
D | keras_support.py | 1681 if not isinstance(K.learning_phase(), int):
|