提交 6d42c25c 编写于 作者: C cuicheng01 提交者: cuicheng01

fix_resnet_vd_nhwc_format

上级 5e814882
......@@ -123,7 +123,11 @@ class ConvBNLayer(TheseusLayer):
self.is_vd_mode = is_vd_mode
self.act = act
self.avg_pool = AvgPool2D(
kernel_size=2, stride=stride, padding="SAME", ceil_mode=True)
kernel_size=2,
stride=stride,
padding="SAME",
ceil_mode=True,
data_format=data_format)
self.conv = Conv2D(
in_channels=num_channels,
out_channels=num_filters,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册