Dynamic connection pruning for densely connected convolutional neural networks