In this chapter, we'll go deeper into TensorFlow and see how we can build a general-purpose image classifier using its deep learning method.
This will be an extension of what we learned in Chapter 2, Handwritten Digit Recognition with scikit-learn and TensorFlow, where we learned how to classify handwritten digits. However, this method is quite a bit more powerful, as it will work on general images of people, animals, food, everyday objects, and so on.
To start, let's talk a little bit about what TensorFlow does, and the general workflow of TensorFlow.
To begin, what is a tensor? Wikipedia states this:
"In mathematics, tensors are geometric objects that describe linear relations between geometric vectors, scalars, and other tensors... Given a reference basis of vectors, a tensor can be represented as an organized multi-dimensional array...