https://mandliya.github.io/posts/model_architecture_optimizations/