Missed TensorFlow World? Check out the recap. Learn more

tf.estimator.ModeKeys

TensorFlow 1 version View source on GitHub

Class ModeKeys

Standard names for Estimator model modes.

Aliases:

The following standard keys are defined:

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

Class Members

  • EVAL = 'eval'
  • PREDICT = 'infer'
  • TRAIN = 'train'