The receptive field is how many input pixels influence one output unit. For a stack of layers each with kernel , stride and dilation , track the receptive field and the cumulative stride ("jump") :
starting from . Implement receptive_field(layers) where each layer is a dict with kernel, stride (default 1) and dilation (default 1). Return (r, j).