Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/python/keras/layers/preprocessing/
Dimage_preprocessing.py228 training = K.learning_phase()
405 training = K.learning_phase()
533 training = K.learning_phase()
822 training = K.learning_phase()
957 training = K.learning_phase()
1097 training = K.learning_phase()
1180 training = K.learning_phase()
1277 training = K.learning_phase()
/external/tensorflow/tensorflow/python/keras/
Dbackend_test.py181 initial_learning_phase = backend.learning_phase()
183 self.assertEqual(backend.learning_phase(), 1)
184 self.assertEqual(backend.learning_phase(), initial_learning_phase)
186 self.assertEqual(backend.learning_phase(), 0)
187 self.assertEqual(backend.learning_phase(), initial_learning_phase)
191 self.assertEqual(backend.learning_phase(), initial_learning_phase)
195 self.assertEqual(backend.learning_phase(), new_learning_phase)
197 self.assertEqual(backend.learning_phase(), 1)
198 self.assertEqual(backend.learning_phase(), new_learning_phase)
201 initial_learning_phase_outside_graph = backend.learning_phase()
[all …]
Dcallbacks_v1.py455 if not isinstance(K.learning_phase(), int):
456 feed_dict[K.learning_phase()] = False
Dbackend.py347 def learning_phase(): function
361 learning_phase = symbolic_learning_phase()
371 learning_phase = _GRAPH_LEARNING_PHASES[None]
372 _mark_func_graph_as_unsaveable(graph, learning_phase)
373 return learning_phase
380 def _mark_func_graph_as_unsaveable(graph, learning_phase): argument
391 if graph.building_function and is_placeholder(learning_phase):
582 previous_value = learning_phase()
4729 training = learning_phase()
/external/tensorflow/tensorflow/python/keras/feature_column/
Ddense_features.py156 training = backend.learning_phase()
Dsequence_feature_column.py148 training = backend.learning_phase()
/external/tensorflow/tensorflow/python/keras/engine/
Dtraining_distributed_v1.py178 strategy=current_strategy, learning_phase=1)
320 strategy=current_strategy, learning_phase=0)
473 strategy=current_strategy, learning_phase=0)
Dtraining_arrays_v1.py150 learning_phase=(1 if mode == ModeKeys.TRAIN else 0))
Dbase_layer_v1.py727 training_value = backend.learning_phase()
732 training_value = backend.learning_phase()
Dbase_layer.py1087 training_value = backend.learning_phase()
1221 training_mode = backend.learning_phase()
Dtraining_v1.py2615 training = K.learning_phase()
Dbase_layer_test.py381 training = backend.learning_phase()
Dtraining_test.py3559 training = backend.learning_phase()
/external/tensorflow/tensorflow/python/keras/saving/saved_model/
Dutils.py160 training = default_training_value or K.learning_phase()
Dsaved_model_test.py76 training = keras.backend.learning_phase()
/external/tensorflow/tensorflow/python/keras/premade/
Dwide_deep.py102 training = K.learning_phase()
/external/tensorflow/tensorflow/python/keras/layers/
Ddense_attention.py135 training = K.learning_phase()
Dnormalization.py730 training = K.learning_phase()
Dcore.py220 training = K.learning_phase()
/external/tensorflow/tensorflow/python/keras/distribute/
Ddistributed_training_utils_v1.py1088 def distributed_scope(strategy, learning_phase): argument
1089 with strategy.scope(), K.learning_phase_scope(learning_phase):
/external/tensorflow/tensorflow/python/keras/saving/
Dsaved_model_experimental_test.py212 training = keras.backend.learning_phase()
/external/tensorflow/tensorflow/tools/api/golden/v2/
Dtensorflow.keras.backend.pbtxt256 name: "learning_phase"
/external/tensorflow/tensorflow/tools/api/golden/v1/
Dtensorflow.keras.backend.pbtxt264 name: "learning_phase"