Adding and testing with fast neural transfer models

If you haven't manually built TensorFlow libraries, you need to go back to the previous chapter to do that first. Then perform the following steps to add TensorFlow support and fast neural-style transfer model files to your iOS app and test run the app:

  1. If you already have an iOS app with TensorFlow manual libraries added, you can skip this step. Otherwise, similar to what we did in the previous chapter, create a new Objective-C-based iOS app named, for example, NeuralStyleTransfer, or in your existing app, create a new user-defined setting under your PROJECT's Build Settings named TENSORFLOW_ROOT with the $HOME/tensorflow-1.4.0 value, assuming that's where you have your TensorFlow 1.4.0 ...

Get Intelligent Mobile Projects with TensorFlow 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.