ML Community Day is November 9! Join us for updates from TensorFlow, JAX, and more Learn more


TensorFlow 2 version View source on GitHub

Standard names for Estimator model modes.

The following standard keys are defined:

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

Class Variables

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