Tensorflow Estimator API
Back to glossaryWhat is the Tensorflow Estimator API?
Estimators represent a complete model but also look intuitive enough to less user. The Estimator API provides methods to train the model, to judge the model’s accuracy, and to generate predictions. TensorFlow provides a programming stack consisting of multiple API layers like in the below image:
Estimators Encapsulate Four Main Features:
- Training- they will train a model on a given input for a fixed number of steps
- Evaluation- they will evaluate the model based on a test set.
- Prediction- estimators will run inference using the trained model.
- Export your model for serving.
Estimators Come with Numerous Benefits:
- Estimators simplify sharing implementations between model developers.
- You can develop a great model with high-level intuitive code, as they usually are easier to use if you need to create models compared to the low-level TensorFlow APIs.
- Estimators are themselves built on tf.keras.layers, that makes customization a lot easier.
- Estimators will make your life easier by building the graph for you.
- Estimators provide a safely distributed training loop that controls how and when to:
- build the graph
- initialize variables
- load data
- handle exceptions
- create checkpoint files and recover from failures
- save summaries for TensorBoard
Weitere Ressourcen
Back to glossary