In this recipe, we use tflearn--a higher-level framework--which abstracts some of the TensorFlow internals and allows us to focus on the definition of deep networks. TFLearn is available at http://tflearn.org/ and this code is part of the standard distribution. (https://github.com/tflearn/tflearn/tree/master/examples)