Padding='valid' is also in first layer so why the size is changing

padding=‘valid’ is also in first layer so why the size is changing

Hey @hssharma2212000, you are getting wrong meaning padding= ‘valid’. This means no padding is applied, and return the output as it is.

padding = ‘same’ means return the output such that input and output sizes are same.

Hope this resolved your doubt.
Plz mark the doubt as resolved in my doubts sectionl. :blush: