TF 2.0 is out! Get hands-on practice at TF World, Oct 28-31. Use code TF20 for 20% off select passes. Register now

tf.contrib.learn.ModeKeys

View source on GitHub

Class ModeKeys

Standard names for model modes (deprecated).

THIS CLASS IS DEPRECATED.

The following standard keys are defined:

  • TRAIN: training mode.
  • EVAL: evaluation mode.
  • INFER: inference mode.

Methods

validate

View source

@classmethod
validate(
    cls,
    key
)

Class Members

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