How it works...

In this section, we provided tips for creating production-level code in TensorFlow. We wanted to introduce concepts such as app-flags, model saving, and logging so that users can consistently write code with these tools and understand what it means when they see these tools in other code. There are many other ways to write good production code, but a full example will be shown in the following recipe.

Get TensorFlow Machine Learning Cookbook - Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.