未验证 提交 6ee18c2b 编写于 作者: F Feng Ni 提交者: GitHub

fix reid resnet bn export, test=document_fix (#5162)

上级 dc6ba2ac
......@@ -55,7 +55,7 @@ class ConvBNLayer(nn.Layer):
bias_attr=False,
data_format=data_format)
self._batch_norm = nn.BatchNorm2D(num_filters, data_layout=data_format)
self._batch_norm = nn.BatchNorm2D(num_filters)
self.act = act
def forward(self, inputs):
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册