DownsampleFactorMax support strides: issue #2196

That's what I referred to in the comment above :)
Just move that to the top of the function, and declare them as shape[0] and [1] instead.