Implementing a deep convolutional neural network using TensorFlow