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:
parent
5162339d26
commit
c8c1f5f95e
@ -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"
|
||||||
|
@ -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"
|
||||||
|
Loading…
Reference in New Issue
Block a user