Taking TensorFlow to Production
Throughout this book, we have seen that TensorFlow is capable of implementing many models, but there is more that TensorFlow can do. This chapter will show you a few of those things. In this chapter, we will cover the following topics:
- Visualizing graphs in TensorBoard
- Managing hyperparameter tuning with TensorBoard's HParams
- Implementing unit tests using tf.test
- Using multiple executors
- Parallelizing TensorFlow using tf.distribute.strategy
- Saving and restoring a TensorFlow model
- Using TensorFlow Serving
We'll start by showing how to use the various aspects of TensorBoard, a capability that comes with TensorFlow. This tool allows us to visualize summary metrics, graphs, and images even while our model is training. Next, we will show you how to write code that is ready for production use with a focus on unit tests, training distribution across multiple processing units, and efficient...