I've made a file that measures the difference between two network states.
Created cropping layer type and tested it using the test framework.
Implementation is very similar to the padding layer.