To understand a new framework, Google’s Tensorflow is a framework for machine-learning calculations, it is often useful to see a ‘toy’ example and learn from it. Here is Google’s description of the…