Skip to content
This repository has been archived by the owner on Jun 8, 2023. It is now read-only.

modify the strides #36

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

modify the strides #36

wants to merge 1 commit into from

Conversation

xuao575
Copy link

@xuao575 xuao575 commented Sep 12, 2022

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant