Fix pooling with dilation (#701)
Fix pooling with dilation (#701)

* Fix max pooling with dilation

* More fixes

* Remove debug code (commented out pragma)

* CUDA changes + hopefully last fix

* Go back to 2 merge modes; fix 'exclude padding' case in spite of what pytorch does

* Fix variable name typo

deeplearning4j/libnd4j,deeplearning4j/libnd4j,deeplearning4j/libnd4j,deeplearning4j/libnd4j,deeplearning4j/libnd4j,deeplearning4j/libnd4j,deeplearning4j/libnd4j