[null,null,["Last updated 2023-10-06 UTC."],[],[],null,["# tf.estimator.ModeKeys\n\n\u003cbr /\u003e\n\n|-----------------------------------------------------------------------------------------------------------------------------------------------|\n| [View source on GitHub](https://github.com/tensorflow/tensorflow/blob/v2.12.1/tensorflow/python/saved_model/model_utils/mode_keys.py#L38-L50) |\n\nStandard names for Estimator model modes. (deprecated)\n\n#### View aliases\n\n\n**Compat aliases for migration**\n\nSee\n[Migration guide](https://www.tensorflow.org/guide/migrate) for\nmore details.\n\n[`tf.compat.v1.estimator.ModeKeys`](https://www.tensorflow.org/api_docs/python/tf/estimator/ModeKeys)\n\n\u003cbr /\u003e\n\n tf.estimator.ModeKeys(\n *args, **kwargs\n )\n\n| **Deprecated:** THIS FUNCTION IS DEPRECATED. It will be removed in a future version. Instructions for updating: Use tf.keras instead.\n\nThe following standard keys are defined:\n\n- `TRAIN`: training/fitting mode.\n- `EVAL`: testing/evaluation mode.\n- `PREDICT`: predication/inference mode.\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n| Class Variables --------------- ||\n|---------|-----------|\n| EVAL | `'eval'` |\n| PREDICT | `'infer'` |\n| TRAIN | `'train'` |\n\n\u003cbr /\u003e"]]