Building Neural Networks in TensorFlow

How to use TensorFlow’s low-level API to implement a convolutional neural network for machine vision.

RM-CNN-Schematic-1

Building Neural Networks in TensorFlow

How to use TensorFlow’s low-level API to implement a convolutional neural network for machine vision.

 

RM-CNN-Schematic-1

Google’s TensorFlow deep-learning API is a powerful tool that lets us take full advantage of the parallel processing capabilities offered by Graphical Processing Units (GPUs). With TensorFlow, we can train our neural networks faster, with greater control over our data processing pipeline.

This tutorial introduces TensorFlow through its low-level API. While it’s possible to jump straight to higher-level APIs like Keras which use TensorFlow as a backend, working first with the lower-level API gives us a better idea of what’s going on under the hood, which is useful for debugging and customization later on.

To demonstrate the use of TensorFlow, we’ll implement a convolutional neural network (CNN) that allows a computer to recognize handwritten digits. CNNs are a popular and powerful approach to many image-based classification tasks. 

Click here if notebook does not render below:

Mobile Users:

Click to View Full Notebook

Notes:

  • This IPython notebook is best viewed using Google Chrome; some images and hyperlinks may not work in Mozilla FireFox.
  • To download the source code, which you can edit and execute yourself, save this link (.ipynb file extension).

Check out some of my past projects!

I’ve worked on technical projects in a variety of fields. Here are some highlights:

Integrated Photonics

Empowering next-generation optical technologies.

Chip-Based Medical Biosensors

Merging engineering with biochemistry.

Quantum Computing

My time as a "quantum coder".

3D Medical Radiation Dose Mapping

Pioneering a new technique for radiation treatment calibration.