Google I/O returns May 18-20! Reserve space and build your schedule Register now

tf.estimator.ModeKeys

Standard names for Estimator model modes.

The following standard keys are defined:

  • TRAIN: training/fitting mode.
  • EVAL: testing/evaluation mode.
  • PREDICT: predication/inference mode.

EVAL 'eval'
PREDICT 'infer'
TRAIN 'train'