This is NST-algorithm implementation inspired by paper "A Neural Algorithm of Artistic Style", Gatys, Ecker, Bethge. 1508.06576
Original Neural Style Transfer code by Leon Gatys: https://github.com/leongatys/PytorchNeuralStyleTransfer
we minimise is
where a is style image, p is content image, x is generated (output) image and α and β are the weighting factors for content and style.