layers.batch_norm()与paddle.fluid.layers.batch_norm冲突
Created by: CASIAyujie
您好,我收到一个报错: /opt/conda/envs/python35-paddle120-env/lib/python3.7/site-packages/parl/core/fluid/layers/layer_wrappers.py in call(self, input, is_test) 550 do_model_average_for_mean_and_var, 551 fuse_with_relu=fuse_with_relu, --> 552 use_global_stats=use_global_stats) 553 554 return BatchNorm_() TypeError: batch_norm() got an unexpected keyword argument 'fuse_with_relu'
我的版本: PARL1.3.1,paddlepaddle1.8.2和1.6.3 我怀疑这是parl的一个bug: parl.layers.batch_norm(),有一个输入参数是fuse_with_relu,该参数在parl.layers.batch_norm()中被传入了paddle.fluid.layers.batch_norm(). 但是,paddle.fluid.layers.batch_norm()并没有一个名为fuse_with_relu的输入参数。