How to make zero padding in keras conv layer?

I am trying to implement a model from a scientific article that says they use zero padding. Can I customize this add-on in keras Conv2D ?

Only valid fill values ​​that I see are

padding: one of the "valid" or "identical" (case insensitive).

Is padding possible with zeros or other constant values?

+4
source share
2 answers

"same" means zero padding. It is currently not possible to use other constants effectively.

+4
source

Source: https://habr.com/ru/post/1681112/


All Articles