tf.estimator.ModeKeys
tf.estimator.ModeKeys
class tf.estimator.ModeKeys
Defined in tensorflow/python/estimator/model_fn.py
.
Standard names for model modes.
The following standard keys are defined:
-
TRAIN
: training mode. -
EVAL
: evaluation mode. -
PREDICT
: inference mode.
Class Members
EVAL
PREDICT
TRAIN
© 2017 The TensorFlow Authors. All rights reserved.
Licensed under the Creative Commons Attribution License 3.0.
Code samples licensed under the Apache 2.0 License.
https://www.tensorflow.org/api_docs/python/tf/estimator/ModeKeys