Home
last modified time | relevance | path

Searched refs:TRAIN (Results 1 – 25 of 82) sorted by relevance

1234

/external/tensorflow/tensorflow/contrib/learn/python/learn/estimators/
Dhead_test.py123 mode=model_fn.ModeKeys.TRAIN,
149 mode=model_fn.ModeKeys.TRAIN,
167 mode=model_fn.ModeKeys.TRAIN,
183 mode=model_fn.ModeKeys.TRAIN,
193 mode=model_fn.ModeKeys.TRAIN,
213 mode=model_fn.ModeKeys.TRAIN,
240 mode=model_fn.ModeKeys.TRAIN,
256 mode=model_fn.ModeKeys.TRAIN,
274 mode=model_fn.ModeKeys.TRAIN,
291 mode=model_fn.ModeKeys.TRAIN,
[all …]
Dmodel_fn.py60 TRAIN = 'train' variable in ModeKeys
66 if key not in (cls.TRAIN, cls.EVAL, cls.INFER):
150 if mode == ModeKeys.TRAIN:
158 if mode in (ModeKeys.TRAIN, ModeKeys.EVAL):
291 if self.mode == ModeKeys.TRAIN:
292 core_mode = core_model_fn_lib.ModeKeys.TRAIN
/external/tensorflow/tensorflow/python/saved_model/model_utils/
Dmode_keys.py35 TRAIN = 'train' variable in KerasModeKeys
51 TRAIN = 'train' variable in EstimatorModeKeys
65 return mode in [KerasModeKeys.TRAIN, EstimatorModeKeys.TRAIN]
95 return KerasModeKeys.TRAIN
Dmode_keys_test.py39 _ = mode_map[mode_keys.KerasModeKeys.TRAIN]
41 _ = mode_map[mode_keys.EstimatorModeKeys.TRAIN]
Dexport_utils.py41 ModeKeys.TRAIN: [tag_constants.TRAINING],
51 ModeKeys.TRAIN: signature_constants.DEFAULT_TRAIN_SIGNATURE_DEF_KEY,
/external/tensorflow/tensorflow/python/keras/engine/
Dtraining_arrays.py61 mode=ModeKeys.TRAIN,
140 if mode == ModeKeys.TRAIN:
147 learning_phase=(1 if mode == ModeKeys.TRAIN else 0))
240 if mode == ModeKeys.TRAIN:
282 if mode == ModeKeys.TRAIN:
384 model, ModeKeys.TRAIN)
406 if mode == ModeKeys.TRAIN:
423 if mode == ModeKeys.TRAIN:
496 if mode == ModeKeys.TRAIN and not isinstance(K.symbolic_learning_phase(),
525 fit_loop = functools.partial(model_iteration, mode=ModeKeys.TRAIN)
Dtraining_generator.py56 mode=ModeKeys.TRAIN,
188 backend.set_eager_learning_phase(1 if mode == ModeKeys.TRAIN else 0)
200 if mode == ModeKeys.TRAIN:
232 if mode == ModeKeys.TRAIN:
322 if mode == ModeKeys.TRAIN:
339 if mode == ModeKeys.TRAIN:
345 fit_generator = functools.partial(model_iteration, mode=ModeKeys.TRAIN)
415 arg_name = 'steps_per_epoch' if mode == ModeKeys.TRAIN else 'steps'
523 if mode == ModeKeys.TRAIN:
Ddistributed_training_utils.py441 allow_partial_batch = (mode == ModeKeys.TRAIN or
583 if mode == ModeKeys.TRAIN and not isinstance(K.symbolic_learning_phase(),
728 if mode == ModeKeys.TRAIN:
860 if model._distribution_strategy and mode == ModeKeys.TRAIN:
881 for mode in [ModeKeys.TRAIN, ModeKeys.TEST, ModeKeys.PREDICT]:
Dtraining_distributed.py72 batch_size, mode=ModeKeys.TRAIN))
308 mode = ModeKeys.TRAIN
326 step_fn = _make_step_fn(model, ModeKeys.TRAIN, current_strategy, out_labels)
427 model, ModeKeys.TRAIN)
449 model, ModeKeys.TRAIN)
/external/tensorflow/tensorflow/contrib/timeseries/python/timeseries/state_space_models/
Dvarma_test.py47 mode=estimator_lib.ModeKeys.TRAIN)
66 mode=estimator_lib.ModeKeys.TRAIN)
86 mode=estimator_lib.ModeKeys.TRAIN)
/external/tensorflow/tensorflow/contrib/timeseries/python/timeseries/
Dhead_test.py62 for mode in [estimator_lib.ModeKeys.TRAIN, estimator_lib.ModeKeys.EVAL,
201 for mode in [estimator_lib.ModeKeys.TRAIN, estimator_lib.ModeKeys.EVAL]:
211 for mode in [estimator_lib.ModeKeys.TRAIN, estimator_lib.ModeKeys.EVAL]:
221 for mode in [estimator_lib.ModeKeys.TRAIN, estimator_lib.ModeKeys.EVAL]:
235 for mode in [estimator_lib.ModeKeys.TRAIN, estimator_lib.ModeKeys.EVAL]:
249 for mode in [estimator_lib.ModeKeys.TRAIN, estimator_lib.ModeKeys.EVAL]:
263 for mode in [estimator_lib.ModeKeys.TRAIN, estimator_lib.ModeKeys.EVAL]:
Dstate_management_test.py129 model=stub_model, features=features, mode=estimator_lib.ModeKeys.TRAIN)
177 mode=estimator_lib.ModeKeys.TRAIN)
180 mode=estimator_lib.ModeKeys.TRAIN)
223 model=stub_model, features=features, mode=estimator_lib.ModeKeys.TRAIN)
Dhead.py97 mode = estimator_lib.ModeKeys.TRAIN
248 features, update_statistics=(mode == estimator_lib.ModeKeys.TRAIN))
256 if (mode == estimator_lib.ModeKeys.TRAIN or
267 if mode == estimator_lib.ModeKeys.TRAIN:
/external/tensorflow/tensorflow/contrib/boosted_trees/estimator_batch/
Destimator_utils.py29 model_fn_lib.ModeKeys.TRAIN: contrib_model_fn_lib.ModeKeys.TRAIN,
/external/tensorflow/tensorflow/contrib/factorization/python/ops/
Dwals.py160 and mode == model_fn.ModeKeys.TRAIN)
162 mode == model_fn.ModeKeys.TRAIN)
185 if mode == model_fn.ModeKeys.TRAIN:
310 mode=model_fn.ModeKeys.TRAIN,
/external/tensorflow/tensorflow/python/keras/
Dcallbacks.py60 mode=ModeKeys.TRAIN):
87 if mode == ModeKeys.TRAIN:
121 mode=ModeKeys.TRAIN):
168 if mode in {ModeKeys.TRAIN, ModeKeys.TEST}:
240 if mode == ModeKeys.TRAIN:
249 if mode == ModeKeys.TRAIN:
257 self._call_batch_hook(ModeKeys.TRAIN, 'begin', batch, logs=logs)
260 self._call_batch_hook(ModeKeys.TRAIN, 'end', batch, logs=logs)
300 self._call_batch_hook(ModeKeys.TRAIN, 'begin', batch, logs=logs)
309 self._call_batch_hook(ModeKeys.TRAIN, 'end', batch, logs=logs)
/external/tensorflow/tensorflow/contrib/gan/python/estimator/python/
Dtpu_gan_estimator_impl.py226 if mode not in [model_fn_lib.ModeKeys.TRAIN, model_fn_lib.ModeKeys.EVAL,
265 if mode == model_fn_lib.ModeKeys.TRAIN:
398 mode=model_fn_lib.ModeKeys.TRAIN,
Dstargan_estimator_test.py64 @parameterized.named_parameters(('train', model_fn_lib.ModeKeys.TRAIN),
169 @parameterized.named_parameters(('train', model_fn_lib.ModeKeys.TRAIN),
186 elif mode == model_fn_lib.ModeKeys.TRAIN:
Dgan_estimator_test.py71 ('train', model_fn_lib.ModeKeys.TRAIN),
146 ('train', model_fn_lib.ModeKeys.TRAIN),
164 elif mode == model_fn_lib.ModeKeys.TRAIN:
187 model_fn_lib.ModeKeys.TRAIN,
Dhead_impl.py233 elif mode == model_fn_lib.ModeKeys.TRAIN:
243 mode=model_fn_lib.ModeKeys.TRAIN,
/external/tensorflow/tensorflow/python/keras/saving/
Dsaved_model.py188 _export_mode(mode_keys.ModeKeys.TRAIN, has_saved_vars, **export_args)
241 mode == mode_keys.ModeKeys.TRAIN):
263 if mode == mode_keys.ModeKeys.TRAIN:
/external/tensorflow/tensorflow/examples/tutorials/layers/
Dcnn_mnist.py82 inputs=dense, rate=0.4, training=mode == tf.estimator.ModeKeys.TRAIN)
103 if mode == tf.estimator.ModeKeys.TRAIN:
/external/tensorflow/tensorflow/python/tpu/
Dtpu_context.py397 return (mode == model_fn_lib.ModeKeys.TRAIN and
411 (mode != model_fn_lib.ModeKeys.TRAIN and
459 if mode == model_fn_lib.ModeKeys.TRAIN:
634 if mode == model_fn_lib.ModeKeys.TRAIN:
/external/tensorflow/tensorflow/tools/api/golden/v2/
Dtensorflow.estimator.-mode-keys.pbtxt14 name: "TRAIN"
/external/tensorflow/tensorflow/tools/api/golden/v1/
Dtensorflow.estimator.-mode-keys.pbtxt14 name: "TRAIN"

1234