Quantifying Layerwise Information Discarding of Neural Networks