conv_arithmetic icon indicating copy to clipboard operation
conv_arithmetic copied to clipboard

modify the strides

Open xuao575 opened this issue 3 years ago • 0 comments

In PyTorch, when the stride is 0, RuntimeError: non-positive stride is not supported will be raised. Meanwhile, the default argument stride of nn.Conv2d is 1.

https://pytorch.org/docs/stable/generated/torch.nn.Conv2d.html#:~:text=%2C%20kernel_size%2C-,stride%3D1,-%2C%20padding%3D

xuao575 avatar Sep 12 '22 14:09 xuao575