Skip to content
New issue

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

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

Already on GitHub? # to your account

Week1 convolution step by step #2

Open
VincentChong123 opened this issue Jul 28, 2019 · 0 comments
Open

Week1 convolution step by step #2

VincentChong123 opened this issue Jul 28, 2019 · 0 comments

Comments

@VincentChong123
Copy link

Hi,

thanks for sharing your file. For below code extracted from your file,

I propose changes below

a_prev_pad = A_prev[i]  # Select ith training example's padded activation #your original 
a_slice_prev = A_prev_pad[i, vert_start:vert_end, horiz_start:horiz_end, :] #your original 

a_prev_pad = A_prev_pad[i]  # Select ith training example's padded activation #my suggestion
a_slice_prev = a_prev_pad[vert_start:vert_end, horiz_start:horiz_end, :] #my suggestion

thanks.

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

No branches or pull requests

1 participant