/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 | 291 ret = _build_export_output(KerasModeKeys.PREDICT) 299 KerasModeKeys.PREDICT,
|
/external/tensorflow/tensorflow/python/keras/distribute/ |
D | distributed_training_utils_v1.py | 142 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/ |
D | saved_model_experimental.py | 220 _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))
|
D | saved_model_experimental_test.py | 365 mode_keys.ModeKeys.PREDICT) 440 mode_keys.ModeKeys.PREDICT) 544 mode_keys.ModeKeys.PREDICT)
|
/external/tensorflow/tensorflow/python/keras/engine/ |
D | training_arrays_v1.py | 238 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)
|
D | training_generator_v1.py | 182 if mode == ModeKeys.PREDICT: 347 model_iteration, mode=ModeKeys.PREDICT, shuffle=False) 530 if mode != ModeKeys.PREDICT:
|
D | training_distributed_v1.py | 445 mode = ModeKeys.PREDICT 741 model._distribution_strategy, x, batch_size, steps, ModeKeys.PREDICT)
|
D | training_v1.py | 2075 with K.name_scope(ModeKeys.PREDICT): 2090 if mode == ModeKeys.PREDICT:
|
/external/tensorflow/tensorflow/tools/api/golden/v1/ |
D | tensorflow.estimator.-mode-keys.pbtxt | 10 name: "PREDICT"
|
/external/tensorflow/tensorflow/tools/api/golden/v2/ |
D | tensorflow.estimator.-mode-keys.pbtxt | 10 name: "PREDICT"
|
/external/python/cpython3/Python/ |
D | ceval.c | 1105 #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/ |
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 | 171 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)
|