Morello: Compiling Fast Neural Networks with Dynamic Programming and Spatial Compression