Neural art style transfer in Tensorflow

In order to practise a little bit with Tensorflow I have implemented the paper A Neural Algorithm of Artistic Style. I think it is an easy algorithm to code, and I encourage all the people who want to learn about Deep Learning or the ones who are trying to learn how to use a new fraemeowrk to implement it themselves.

Reverse a Torch Tensor

Reversing a Tensor in Torch is not as easy as it is with Numpy, this is my one line code to reverse a Tensor in one dimension.

Caffe python layer to print confusion matrix

To view the confusion matrix and the accuracy of a neural network while it is being trained, I coded this easy python layer to print the confusion matrix while training a model with Caffe.