Stop Thinking, Just Do!

Sung-Soo Kim's Blog

TensorFlow Examples


1 June 2016

TensorFlow Examples

TensorFlow Tutorial with popular machine learning algorithms implementation. This tutorial was designed for easily diving into TensorFlow, through examples.

It is suitable for beginners who want to find clear and concise examples about TensorFlow. For readability, the tutorial includes both notebook and code with explanations.

Tutorial index

1 - Introduction

2 - Basic Models

3 - Neural Networks

4 - Utilities

  • Save and Restore a model (notebook) (code)
  • Tensorboard - Graph and loss visualization (notebook) (code)
  • Tensorboard - Advanced visualization (code)

5 - Multi GPU

More Examples

The following examples are coming from TFLearn, a library that provides a simplified interface for TensorFlow. You can have a look, there are many examples and pre-built operations and layers.


Extending Tensorflow

  • Layers. Use TFLearn layers along with Tensorflow.
  • Trainer. Use TFLearn trainer class to train any Tensorflow graph.
  • Built-in Ops. Use TFLearn built-in operations along with Tensorflow.
  • Summaries. Use TFLearn summarizers along with Tensorflow.
  • Variables. Use TFLearn variables along with Tensorflow.

Computer Vision

Natural Language Processing



tflearn (if using tflearn examples)

For more details about TensorFlow installation, you can check TensorFlow Installation Guide


Some examples require MNIST dataset for training and testing. Don’t worry, this dataset will automatically be downloaded when running examples (with MNIST is a database of handwritten digits, with 60,000 examples for training and 10,000 examples for testing. (Website:

comments powered by Disqus