Import Estimator ModeKeys from core, and remove ModeKeysV2.

Additionally, change all references of model_fn.Modekeys (within Estimator) to directly import mode_keys.ModeKeys.

PiperOrigin-RevId: 233624824
This commit is contained in:
Katherine Wu 2019-02-12 09:51:08 -08:00 committed by TensorFlower Gardener
parent 5162339d26
commit c8c1f5f95e
2 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,6 @@
path: "tensorflow.estimator.ModeKeys" path: "tensorflow.estimator.ModeKeys"
tf_class { tf_class {
is_instance: "<class \'tensorflow_estimator.python.estimator.model_fn.ModeKeys\'>" is_instance: "<class \'tensorflow.python.saved_model.model_utils.mode_keys.EstimatorModeKeys\'>"
is_instance: "<type \'object\'>" is_instance: "<type \'object\'>"
member { member {
name: "EVAL" name: "EVAL"

View File

@ -1,6 +1,6 @@
path: "tensorflow.estimator.ModeKeys" path: "tensorflow.estimator.ModeKeys"
tf_class { tf_class {
is_instance: "<class \'tensorflow_estimator.python.estimator.mode_keys.ModeKeysV2\'>" is_instance: "<class \'tensorflow.python.saved_model.model_utils.mode_keys.EstimatorModeKeys\'>"
is_instance: "<type \'object\'>" is_instance: "<type \'object\'>"
member { member {
name: "EVAL" name: "EVAL"