Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

some questions in function convlove() #2

Open
zhangyingbit opened this issue Nov 10, 2019 · 0 comments
Open

some questions in function convlove() #2

zhangyingbit opened this issue Nov 10, 2019 · 0 comments

Comments

@zhangyingbit
Copy link

Hi, I have a question about the function convlove()
"val = (filter * pad_mat[j * strides[1]:j * strides[1] + filter_size[0],
k * strides[0]:k * strides[0] + filter_size[1]]).sum()"
why you multiply "j" with stride[i]? In the "for j in range(0, mat_size[0], strides[1]):" , there is a strides[1]. I'm confused about it. Thank you!

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

No branches or pull requests

1 participant