Applying the Roofline model for Deep Learning performance optimizations