Home
last modified time | relevance | path

Searched refs:PREDICT (Results 1 – 25 of 44) sorted by relevance

12

/external/tensorflow/tensorflow/python/saved_model/model_utils/
Dmode_keys_test.py29 mode_keys.KerasModeKeys.PREDICT: 3,
34 self.assertEqual(3, mode_map[mode_keys.KerasModeKeys.PREDICT])
35 self.assertEqual(3, mode_map[mode_keys.EstimatorModeKeys.PREDICT])
49 {mode_keys.KerasModeKeys.TEST, mode_keys.KerasModeKeys.PREDICT},
59 mode_keys.KerasModeKeys.PREDICT: 3,
60 mode_keys.EstimatorModeKeys.PREDICT: 1
Dmode_keys.py37 PREDICT = 'predict' variable in KerasModeKeys
53 PREDICT = 'infer' variable in EstimatorModeKeys
57 return mode in [KerasModeKeys.PREDICT, EstimatorModeKeys.PREDICT]
99 return KerasModeKeys.PREDICT
Dexport_utils.py40 ModeKeys.PREDICT: [tag_constants.SERVING],
50 ModeKeys.PREDICT: signature_constants.DEFAULT_SERVING_SIGNATURE_DEF_KEY,
Dexport_test.py270 ret = _build_export_output(KerasModeKeys.PREDICT)
278 KerasModeKeys.PREDICT,
/external/tensorflow/tensorflow/contrib/gan/python/estimator/python/
Dstargan_estimator_impl.py162 model_fn_lib.ModeKeys.PREDICT
166 if mode == model_fn_lib.ModeKeys.PREDICT:
196 if mode == model_fn_lib.ModeKeys.PREDICT:
215 if mode == model_fn_lib.ModeKeys.PREDICT:
268 generator_fn, mode=model_fn_lib.ModeKeys.PREDICT)
Dgan_estimator_impl.py178 model_fn_lib.ModeKeys.PREDICT]:
204 if mode == model_fn_lib.ModeKeys.PREDICT:
223 if mode == model_fn_lib.ModeKeys.PREDICT:
278 mode=model_fn_lib.ModeKeys.PREDICT)
Dstargan_estimator_test.py66 ('predict', model_fn_lib.ModeKeys.PREDICT))
85 if mode == model_fn_lib.ModeKeys.PREDICT:
171 ('predict', model_fn_lib.ModeKeys.PREDICT))
184 if mode == model_fn_lib.ModeKeys.PREDICT:
Dgan_estimator_test.py73 ('predict', model_fn_lib.ModeKeys.PREDICT))
77 is_predict = mode == model_fn_lib.ModeKeys.PREDICT
87 if mode == model_fn_lib.ModeKeys.PREDICT:
148 ('predict', model_fn_lib.ModeKeys.PREDICT))
162 if mode == model_fn_lib.ModeKeys.PREDICT:
Dhead_impl.py202 if mode == model_fn_lib.ModeKeys.PREDICT:
204 mode=model_fn_lib.ModeKeys.PREDICT,
Dtpu_gan_estimator_impl.py227 model_fn_lib.ModeKeys.PREDICT]:
278 if mode == model_fn_lib.ModeKeys.PREDICT:
Dhead_test.py83 spec = self._test_modes_helper(model_fn_lib.ModeKeys.PREDICT)
/external/tensorflow/tensorflow/contrib/timeseries/python/timeseries/
Dhead.py143 predictions=prediction, mode=estimator_lib.ModeKeys.PREDICT)
161 mode=estimator_lib.ModeKeys.PREDICT,
163 feature_keys.SavedModelLabels.PREDICT:
259 elif mode == estimator_lib.ModeKeys.PREDICT:
271 elif mode == estimator_lib.ModeKeys.PREDICT and not passed_flat_state:
273 elif mode == estimator_lib.ModeKeys.PREDICT and passed_flat_state:
360 mode=estimator_lib.ModeKeys.PREDICT,
362 feature_keys.SavedModelLabels.PREDICT:
Dhead_test.py63 estimator_lib.ModeKeys.PREDICT]:
288 mode=estimator_lib.ModeKeys.PREDICT)
297 mode=estimator_lib.ModeKeys.PREDICT)
310 mode=estimator_lib.ModeKeys.PREDICT)
324 mode=estimator_lib.ModeKeys.PREDICT)
412 self.assertEqual([feature_keys.SavedModelLabels.PREDICT],
415 feature_keys.SavedModelLabels.PREDICT]
467 feature_keys.SavedModelLabels.PREDICT]
Dfeature_keys.py73 PREDICT = signature_constants.DEFAULT_SERVING_SIGNATURE_DEF_KEY variable in SavedModelLabels
/external/tensorflow/tensorflow/python/keras/engine/
Ddistributed_training_utils.py442 (mode == ModeKeys.PREDICT
575 if mode == ModeKeys.PREDICT:
655 if mode == ModeKeys.PREDICT and inputs is not None: # TPU predict case
707 if mode == ModeKeys.PREDICT and inputs is not None: # TPU predict case
796 with_loss_tensor=(mode != ModeKeys.PREDICT))
836 with_loss_tensor=(mode != ModeKeys.PREDICT))
869 if model._distribution_strategy is not None and mode == ModeKeys.PREDICT:
881 for mode in [ModeKeys.TRAIN, ModeKeys.TEST, ModeKeys.PREDICT]:
Dtraining_generator.py180 if mode == ModeKeys.PREDICT:
349 model_iteration, mode=ModeKeys.PREDICT, shuffle=False)
359 if mode == ModeKeys.PREDICT:
536 if mode != ModeKeys.PREDICT:
Dtraining_distributed.py181 batch_size, mode=ModeKeys.PREDICT)
220 if mode == ModeKeys.PREDICT:
248 if mode == ModeKeys.PREDICT:
594 mode = ModeKeys.PREDICT
629 step_fn = _make_step_fn(model, ModeKeys.PREDICT, current_strategy, out_labels)
Dtraining_arrays.py219 if mode == ModeKeys.PREDICT:
429 if mode == ModeKeys.PREDICT:
529 model_iteration, mode=ModeKeys.PREDICT, shuffle=False)
/external/tensorflow/tensorflow/python/keras/saving/
Dsaved_model.py197 _export_mode(mode_keys.ModeKeys.PREDICT, has_saved_vars, **export_args)
234 compile_clone = (mode != mode_keys.ModeKeys.PREDICT)
340 serving_only=(mode == mode_keys.ModeKeys.PREDICT))
Dsaved_model_test.py356 mode_keys.ModeKeys.PREDICT)
431 mode_keys.ModeKeys.PREDICT)
508 mode_keys.ModeKeys.PREDICT)
538 mode_keys.ModeKeys.PREDICT)
/external/tensorflow/tensorflow/tools/api/golden/v2/
Dtensorflow.estimator.-mode-keys.pbtxt10 name: "PREDICT"
/external/tensorflow/tensorflow/tools/api/golden/v1/
Dtensorflow.estimator.-mode-keys.pbtxt10 name: "PREDICT"
/external/tensorflow/tensorflow/contrib/boosted_trees/estimator_batch/
Destimator_utils.py31 model_fn_lib.ModeKeys.PREDICT: contrib_model_fn_lib.ModeKeys.INFER
/external/tensorflow/tensorflow/contrib/predictor/
Dcore_estimator_predictor.py36 serving_input_receiver.features, None, model_fn.ModeKeys.PREDICT,
/external/python/cpython3/Python/
Dceval.c735 #define PREDICT(op) if (0) goto PRED_##op in _PyEval_EvalFrameDefault() macro
737 #define PREDICT(op) \ in _PyEval_EvalFrameDefault() macro
1390 PREDICT(JUMP_ABSOLUTE); in _PyEval_EvalFrameDefault()
1402 PREDICT(JUMP_ABSOLUTE); in _PyEval_EvalFrameDefault()
1741 PREDICT(LOAD_CONST); in _PyEval_EvalFrameDefault()
1778 PREDICT(LOAD_CONST); in _PyEval_EvalFrameDefault()
2566 PREDICT(JUMP_ABSOLUTE); in _PyEval_EvalFrameDefault()
2590 PREDICT(POP_JUMP_IF_FALSE); in _PyEval_EvalFrameDefault()
2591 PREDICT(POP_JUMP_IF_TRUE); in _PyEval_EvalFrameDefault()
2771 PREDICT(FOR_ITER); in _PyEval_EvalFrameDefault()
[all …]

12