Dynamic Pruning and Quantization to Reduce Computational Demand