提交 21e406db 编写于 作者: X xiaoting 提交者: SunGaofeng

fix bias parameter for resnet (#3234)

上级 274d953c
......@@ -88,7 +88,7 @@ class ConvBNLayer(fluid.dygraph.Layer):
padding=(filter_size - 1) // 2,
groups=groups,
act=None,
bias_attr=None)
bias_attr=False)
self._batch_norm = BatchNorm(self.full_name(), num_filters, act=act)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册