Deep learning model acceleration based on hardware-algorithm co-optimization