Home
last modified time | relevance | path

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

/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.py281 ret = _build_export_output(KerasModeKeys.PREDICT)
289 KerasModeKeys.PREDICT,
/external/tensorflow/tensorflow/python/keras/distribute/
Ddistributed_training_utils.py142 if mode == ModeKeys.PREDICT:
516 ((mode == ModeKeys.PREDICT or mode == ModeKeys.TEST)
659 if mode == ModeKeys.PREDICT:
762 if mode == ModeKeys.PREDICT and inputs is not None: # TPU predict case
814 if mode == ModeKeys.PREDICT and inputs is not None: # TPU predict case
871 strategy, outputs, with_loss_tensor=(mode != ModeKeys.PREDICT))
899 if mode != ModeKeys.PREDICT:
983 with_loss_tensor=(mode != ModeKeys.PREDICT))
1023 with_loss_tensor=(mode != ModeKeys.PREDICT))
1056 if strategy is not None and mode == ModeKeys.PREDICT:
[all …]
/external/tensorflow/tensorflow/python/keras/engine/
Dtraining_v2_utils.py165 if mode == ModeKeys.PREDICT:
220 if mode != ModeKeys.PREDICT:
237 strategy, ModeKeys.PREDICT)
352 return (mode == ModeKeys.PREDICT
551 model, ModeKeys.PREDICT)
Dtraining_arrays.py233 model, count_mode, mode != ModeKeys.PREDICT)
246 if mode == ModeKeys.PREDICT:
272 if mode != ModeKeys.PREDICT:
476 if mode == ModeKeys.PREDICT:
578 if mode == ModeKeys.PREDICT:
605 model_iteration, mode=ModeKeys.PREDICT, shuffle=False)
Dtraining_v2_utils_test.py63 strategy, batch_result, ModeKeys.PREDICT)
156 return mode == ModeKeys.PREDICT
Dtraining_v2.py100 if mode == ModeKeys.PREDICT:
159 if mode != ModeKeys.PREDICT:
494 model, ModeKeys.PREDICT, x=x, batch_size=batch_size, verbose=verbose,
675 if mode == ModeKeys.PREDICT:
Dtraining_generator.py184 if mode == ModeKeys.PREDICT:
358 model_iteration, mode=ModeKeys.PREDICT, shuffle=False)
541 if mode != ModeKeys.PREDICT:
Dtraining_distributed.py444 mode = ModeKeys.PREDICT
739 model._distribution_strategy, x, batch_size, steps, ModeKeys.PREDICT)
Dtraining.py1917 with K.name_scope(ModeKeys.PREDICT):
1932 if mode == ModeKeys.PREDICT:
Dtraining_v1.py2072 with K.name_scope(ModeKeys.PREDICT):
2087 if mode == ModeKeys.PREDICT:
/external/tensorflow/tensorflow/python/keras/saving/
Dsaved_model_experimental.py219 _export_mode(mode_keys.ModeKeys.PREDICT, has_saved_vars, **export_args)
255 compile_clone = (mode != mode_keys.ModeKeys.PREDICT)
364 serving_only=(mode == mode_keys.ModeKeys.PREDICT))
Dsaved_model_experimental_test.py371 mode_keys.ModeKeys.PREDICT)
446 mode_keys.ModeKeys.PREDICT)
550 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/python/cpython3/Python/
Dceval.c930 #define PREDICT(op) if (0) goto PRED_##op in _PyEval_EvalFrameDefault() macro
932 #define PREDICT(op) \ in _PyEval_EvalFrameDefault() macro
1661 PREDICT(JUMP_ABSOLUTE); in _PyEval_EvalFrameDefault()
1673 PREDICT(JUMP_ABSOLUTE); in _PyEval_EvalFrameDefault()
2008 PREDICT(LOAD_CONST); in _PyEval_EvalFrameDefault()
2044 PREDICT(LOAD_CONST); in _PyEval_EvalFrameDefault()
2959 PREDICT(JUMP_ABSOLUTE); in _PyEval_EvalFrameDefault()
2983 PREDICT(POP_JUMP_IF_FALSE); in _PyEval_EvalFrameDefault()
2984 PREDICT(POP_JUMP_IF_TRUE); in _PyEval_EvalFrameDefault()
3164 PREDICT(FOR_ITER); in _PyEval_EvalFrameDefault()
[all …]
/external/python/cpython2/Python/
Dceval.c912 #define PREDICT(op) if (0) goto PRED_##op in PyEval_EvalFrameEx() macro
916 #define PREDICT(op) if (*next_instr == op) goto PRED_##op in PyEval_EvalFrameEx() macro
1626 PREDICT(JUMP_ABSOLUTE); in PyEval_EvalFrameEx()
1639 PREDICT(JUMP_ABSOLUTE); in PyEval_EvalFrameEx()
2545 PREDICT(JUMP_ABSOLUTE); in PyEval_EvalFrameEx()
2594 PREDICT(POP_JUMP_IF_FALSE); in PyEval_EvalFrameEx()
2595 PREDICT(POP_JUMP_IF_TRUE); in PyEval_EvalFrameEx()
2816 PREDICT(FOR_ITER); in PyEval_EvalFrameEx()
2831 PREDICT(STORE_FAST); in PyEval_EvalFrameEx()
2832 PREDICT(UNPACK_SEQUENCE); in PyEval_EvalFrameEx()
[all …]
/external/tensorflow/tensorflow/python/keras/
Dcallbacks.py156 if mode != ModeKeys.PREDICT:
350 self._call_batch_hook(ModeKeys.PREDICT, 'begin', batch, logs=logs)
359 self._call_batch_hook(ModeKeys.PREDICT, 'end', batch, logs=logs)