Fast spline neural networks for image compression