Delete duplicate ModeKeys

PiperOrigin-RevId: 233490111
This commit is contained in:
Katherine Wu 2019-02-11 15:23:22 -08:00 committed by TensorFlower Gardener
parent 3a475eb69d
commit 2fa8a1f16f

View File

@ -37,21 +37,6 @@ class KerasModeKeys(object):
PREDICT = 'predict'
class ModeKeys(object):
"""Standard names for model modes.
The following standard keys are defined:
* `TRAIN`: training/fitting mode.
* `TEST`: testing/evaluation mode.
* `PREDICT`: prediction/inference mode.
"""
TRAIN = 'train'
TEST = 'test'
PREDICT = 'predict'
# TODO(kathywu): Remove copy in Estimator after nightlies
class EstimatorModeKeys(object):
"""Standard names for Estimator model modes.