提交 5d913256 编写于 作者: Z Zhaolong Xing 提交者: GitHub

Update resnet.py

上级 6a0ed1c0
...@@ -32,7 +32,7 @@ def conv_bn_layer(input, ...@@ -32,7 +32,7 @@ def conv_bn_layer(input,
stride=stride, stride=stride,
padding=padding, padding=padding,
act=paddle.activation.Linear(), act=paddle.activation.Linear(),
bias_attr=False,) bias_attr=False)
return paddle.layer.batch_norm(input=tmp, act=active_type) return paddle.layer.batch_norm(input=tmp, act=active_type)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册