Style transfer consists in generating an image with the same \"content\" as a base image, but with the \"style\" of a different picture (typically artistic). This is achieved through the optimization of a loss function that has 3 components: \"style loss\", \"content loss\", and \"total variation loss\":