Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/python/keras/layers/preprocessing/
Dimage_preprocessing.py210 training = K.learning_phase()
359 training = K.learning_phase()
465 training = K.learning_phase()
694 training = K.learning_phase()
808 training = K.learning_phase()
940 training = K.learning_phase()
/external/tensorflow/tensorflow/python/keras/
Dbackend_test.py172 initial_learning_phase = keras.backend.learning_phase()
174 self.assertEqual(keras.backend.learning_phase(), 1)
175 self.assertEqual(keras.backend.learning_phase(), initial_learning_phase)
177 self.assertEqual(keras.backend.learning_phase(), 0)
178 self.assertEqual(keras.backend.learning_phase(), initial_learning_phase)
182 self.assertEqual(keras.backend.learning_phase(), initial_learning_phase)
186 self.assertEqual(keras.backend.learning_phase(), new_learning_phase)
188 self.assertEqual(keras.backend.learning_phase(), 1)
189 self.assertEqual(keras.backend.learning_phase(), new_learning_phase)
192 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.py304 def learning_phase(): function
318 learning_phase = symbolic_learning_phase()
319 _mark_func_graph_as_unsaveable(graph, learning_phase)
320 return learning_phase
334 learning_phase = symbolic_learning_phase()
335 _mark_func_graph_as_unsaveable(graph, learning_phase)
336 return learning_phase
343 def _mark_func_graph_as_unsaveable(graph, learning_phase): argument
354 if graph.building_function and is_placeholder(learning_phase):
460 previous_value = learning_phase()
[all …]
/external/tensorflow/tensorflow/python/keras/engine/
Dtraining_distributed.py178 strategy=current_strategy, learning_phase=1)
320 strategy=current_strategy, learning_phase=0)
472 strategy=current_strategy, learning_phase=0)
Dtraining_arrays.py150 learning_phase=(1 if mode == ModeKeys.TRAIN else 0))
Dbase_layer.py719 training_value = backend.learning_phase()
724 training_value = backend.learning_phase()
Dtraining.py2456 training = K.learning_phase()
Dbase_layer_test.py401 training = keras.backend.learning_phase()
Dtraining_v1.py2612 training = K.learning_phase()
Dtraining_test.py3788 training = keras.backend.learning_phase()
/external/tensorflow/tensorflow/python/keras/premade/
Dwide_deep.py100 training = K.learning_phase()
/external/tensorflow/tensorflow/python/keras/saving/saved_model/
Dutils.py158 training = default_training_value or K.learning_phase()
Dsaved_model_test.py73 training = keras.backend.learning_phase()
/external/tensorflow/tensorflow/python/keras/layers/
Ddense_attention.py124 training = K.learning_phase()
Dcore.py172 training = K.learning_phase()
Dnormalization.py672 training = K.learning_phase()
/external/tensorflow/tensorflow/python/keras/distribute/
Ddistributed_training_utils.py1102 def distributed_scope(strategy, learning_phase): argument
1103 with strategy.scope(), K.learning_phase_scope(learning_phase):
/external/tensorflow/tensorflow/python/keras/saving/
Dsaved_model_experimental_test.py224 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"