O'Reilly logo

TensorFlow Machine Learning Cookbook by Nick McClure

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 10. Taking TensorFlow to Production

In this chapter, we will cover the following topics:

  • Implementing Unit Tests
  • Using Multiple Executors
  • Parallelizing TensorFlow
  • Taking TensorFlow to Production
  • Productionalizing TensorFlow – An Example

Introduction

Up to this point, we have covered how to train and evaluate various models in TensorFlow. In this chapter, we will show how to write code that is ready for production usage. There are various definitions of production-ready code but, for us, production code will be defined as code that has unit tests, separates the training and evaluation code, and efficiently saves and loads various needed parts of the data pipeline and created graph session.

Note

The Python scripts provided in this chapter should ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required