本文介绍了如何在keras转换层中进行零填充?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试根据科学文章来实现模型,该文章说他们正在使用零填充.是否可以在 keras Conv2D 中配置此填充?

I am trying to implement model from scientific article, which says they are using zero padding. Is it possible to configure this padding in keras Conv2D?

我只能看到填充的值

是否可以用零或其他常数填充?

Is it possible to pad with zeros or other constant values?

推荐答案

相同"表示零填充.当前不可能以有效的方式填充其他常量.

"same" means zero padding. It is currently not possible to pad with other constants in an efficient way.

这篇关于如何在keras转换层中进行零填充?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

07-16 16:50
查看更多