Delete duplicate ModeKeys
PiperOrigin-RevId: 233490111
This commit is contained in:
parent
3a475eb69d
commit
2fa8a1f16f
@ -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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user