You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
for row_start in range(layer_0.shape[1]-kernel_rows+1):
for col_start in range(layer_0.shape[2] - kernel_cols+1):
sect = get_image_section(layer_0,
row_start,
row_start+kernel_rows,
col_start,
col_start+kernel_cols)
it works
8x8 image with a 3x3 kernel, we get 6x6 output, which means 8-3+1=6.
when using
for row_start in range(layer_0.shape[1]-kernel_rows)
, it discards the last pixel in the row.
What do you think?
The text was updated successfully, but these errors were encountered: