Raise RuntimeError for zero stride pooling (#41819)
Summary:
Close https://github.com/pytorch/pytorch/issues/41767
Pull Request resolved: https://github.com/pytorch/pytorch/pull/41819
Reviewed By: mrshenli
Differential Revision: D22780634
Pulled By: ngimel
fbshipit-source-id: 376ce5229ad5bd60804d839340d2c6505cf3288d