/external/tensorflow/tensorflow/python/saved_model/model_utils/ |
D | mode_keys_test.py | 29 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
|
D | mode_keys.py | 37 PREDICT = 'predict' variable in KerasModeKeys 53 PREDICT = 'infer' variable in EstimatorModeKeys 57 return mode in [KerasModeKeys.PREDICT, EstimatorModeKeys.PREDICT] 99 return KerasModeKeys.PREDICT
|
D | export_utils.py | 40 ModeKeys.PREDICT: [tag_constants.SERVING], 50 ModeKeys.PREDICT: signature_constants.DEFAULT_SERVING_SIGNATURE_DEF_KEY,
|
D | export_test.py | 281 ret = _build_export_output(KerasModeKeys.PREDICT) 289 KerasModeKeys.PREDICT,
|
/external/tensorflow/tensorflow/python/keras/distribute/ |
D | distributed_training_utils.py | 142 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/ |
D | training_v2_utils.py | 165 if mode == ModeKeys.PREDICT: 220 if mode != ModeKeys.PREDICT: 237 strategy, ModeKeys.PREDICT) 352 return (mode == ModeKeys.PREDICT 551 model, ModeKeys.PREDICT)
|
D | training_arrays.py | 233 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)
|
D | training_v2_utils_test.py | 63 strategy, batch_result, ModeKeys.PREDICT) 156 return mode == ModeKeys.PREDICT
|
D | training_v2.py | 100 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:
|
D | training_generator.py | 184 if mode == ModeKeys.PREDICT: 358 model_iteration, mode=ModeKeys.PREDICT, shuffle=False) 541 if mode != ModeKeys.PREDICT:
|
D | training_distributed.py | 444 mode = ModeKeys.PREDICT 739 model._distribution_strategy, x, batch_size, steps, ModeKeys.PREDICT)
|
D | training.py | 1917 with K.name_scope(ModeKeys.PREDICT): 1932 if mode == ModeKeys.PREDICT:
|
D | training_v1.py | 2072 with K.name_scope(ModeKeys.PREDICT): 2087 if mode == ModeKeys.PREDICT:
|
/external/tensorflow/tensorflow/python/keras/saving/ |
D | saved_model_experimental.py | 219 _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))
|
D | saved_model_experimental_test.py | 371 mode_keys.ModeKeys.PREDICT) 446 mode_keys.ModeKeys.PREDICT) 550 mode_keys.ModeKeys.PREDICT)
|
/external/tensorflow/tensorflow/tools/api/golden/v2/ |
D | tensorflow.estimator.-mode-keys.pbtxt | 10 name: "PREDICT"
|
/external/tensorflow/tensorflow/tools/api/golden/v1/ |
D | tensorflow.estimator.-mode-keys.pbtxt | 10 name: "PREDICT"
|
/external/python/cpython3/Python/ |
D | ceval.c | 930 #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/ |
D | ceval.c | 912 #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/ |
D | callbacks.py | 156 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)
|