Tensorflow tutorial for convolutional neural network