Pruning resnet neural networks block by block