Home
last modified time | relevance | path

Searched refs:PREDICT (Results 1 – 16 of 16) 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.py291 ret = _build_export_output(KerasModeKeys.PREDICT)
299 KerasModeKeys.PREDICT,
/external/tensorflow/tensorflow/python/keras/distribute/
Ddistributed_training_utils_v1.py142 if mode == ModeKeys.PREDICT:
503 ((mode == ModeKeys.PREDICT or mode == ModeKeys.TEST) and
646 if mode == ModeKeys.PREDICT:
749 if mode == ModeKeys.PREDICT and inputs is not None: # TPU predict case
801 if mode == ModeKeys.PREDICT and inputs is not None: # TPU predict case
857 strategy, outputs, with_loss_tensor=(mode != ModeKeys.PREDICT))
885 if mode != ModeKeys.PREDICT:
969 with_loss_tensor=(mode != ModeKeys.PREDICT))
1009 with_loss_tensor=(mode != ModeKeys.PREDICT))
1042 if strategy is not None and mode == ModeKeys.PREDICT:
[all …]
/external/tensorflow/tensorflow/python/keras/saving/
Dsaved_model_experimental.py220 _export_mode(mode_keys.ModeKeys.PREDICT, has_saved_vars, **export_args)
256 compile_clone = (mode != mode_keys.ModeKeys.PREDICT)
365 serving_only=(mode == mode_keys.ModeKeys.PREDICT))
Dsaved_model_experimental_test.py365 mode_keys.ModeKeys.PREDICT)
440 mode_keys.ModeKeys.PREDICT)
544 mode_keys.ModeKeys.PREDICT)
/external/tensorflow/tensorflow/python/keras/engine/
Dtraining_arrays_v1.py238 if mode == ModeKeys.PREDICT:
264 if mode != ModeKeys.PREDICT:
460 if mode == ModeKeys.PREDICT:
562 if mode == ModeKeys.PREDICT:
589 model_iteration, mode=ModeKeys.PREDICT, shuffle=False)
Dtraining_generator_v1.py182 if mode == ModeKeys.PREDICT:
347 model_iteration, mode=ModeKeys.PREDICT, shuffle=False)
530 if mode != ModeKeys.PREDICT:
Dtraining_distributed_v1.py445 mode = ModeKeys.PREDICT
741 model._distribution_strategy, x, batch_size, steps, ModeKeys.PREDICT)
Dtraining_v1.py2075 with K.name_scope(ModeKeys.PREDICT):
2090 if mode == ModeKeys.PREDICT:
/external/tensorflow/tensorflow/tools/api/golden/v1/
Dtensorflow.estimator.-mode-keys.pbtxt10 name: "PREDICT"
/external/tensorflow/tensorflow/tools/api/golden/v2/
Dtensorflow.estimator.-mode-keys.pbtxt10 name: "PREDICT"
/external/python/cpython3/Python/
Dceval.c1105 #define PREDICT(op) if (0) goto PREDICT_ID(op) in _PyEval_EvalFrameDefault() macro
1107 #define PREDICT(op) \ in _PyEval_EvalFrameDefault() macro
1802 PREDICT(JUMP_ABSOLUTE); in _PyEval_EvalFrameDefault()
1814 PREDICT(JUMP_ABSOLUTE); in _PyEval_EvalFrameDefault()
2150 PREDICT(LOAD_CONST); in _PyEval_EvalFrameDefault()
2191 PREDICT(LOAD_CONST); in _PyEval_EvalFrameDefault()
2970 PREDICT(CALL_FUNCTION_EX); in _PyEval_EvalFrameDefault()
2987 PREDICT(JUMP_ABSOLUTE); in _PyEval_EvalFrameDefault()
3012 PREDICT(POP_JUMP_IF_FALSE); in _PyEval_EvalFrameDefault()
3013 PREDICT(POP_JUMP_IF_TRUE); 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.py171 if mode != ModeKeys.PREDICT:
491 self._call_batch_hook(ModeKeys.PREDICT, 'begin', batch, logs=logs)
501 self._call_batch_hook(ModeKeys.PREDICT, 'end', batch, logs=logs)