未验证 提交 7dbc5126 编写于 作者: B Bai Yifan 提交者: GitHub

fix user_defined quant unittest (#27385)

上级 5216d055
...@@ -48,6 +48,7 @@ def residual_block(img, label, num=1): ...@@ -48,6 +48,7 @@ def residual_block(img, label, num=1):
num_filters=ch_out, num_filters=ch_out,
stride=stride, stride=stride,
padding=padding, padding=padding,
use_cudnn=use_cudnn,
act=None, act=None,
bias_attr=bias_attr) bias_attr=bias_attr)
return fluid.layers.batch_norm(input=tmp, act=act) return fluid.layers.batch_norm(input=tmp, act=act)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册