There's more...

If you want to build directly from a TensorFlow source then you need to install Bazel and TensorFlow. Bazel is a fast, scalable, multi-language, and extensible build system. Google uses the build tool Blaze internally and released the open source part of the Blaze tool as Bazel; the name is an anagram of Blaze.

This page will guide you through the process: https://github.com/TensorFlow/TensorFlow/tree/master/TensorFlow/examples/android/.

If you are running macOS, the process is very simple:

  1. Install Bazel by following the instructions at https://docs.bazel.build/versions/master/install.html . For macOS, we are going to use Homebrew:
/usr/bin/ruby -e "$(curl -fsSL 
https://raw.githubusercontent.com/Homebrew/install/master/install)"
brew install bazel
bazel version
brew upgrade bazel
  1. Clone the TensorFlow distribution from GitHub.
git clone https://github.com/TensorFlow/TensorFlow.git
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset