diff --git a/caffe2fluid/doc/BatchNorm.md b/caffe2fluid/doc/BatchNorm.md index 48ed6d6e9cd2ee6e046b83b8512648c392656ab6..ac349e70fbd5d4a7c2f07104661ad334f31ac21f 100644 --- a/caffe2fluid/doc/BatchNorm.md +++ b/caffe2fluid/doc/BatchNorm.md @@ -8,7 +8,7 @@ layer { type: "BatchNorm" bottom: "data" top: "bn" - batch_norm_param{ + batch_norm_param { use_global_stats: true moving_average_fraction: 0.999 eps: 0.00001 @@ -21,20 +21,20 @@ layer { ```python paddle.fluid.layers.batch_norm( input, - act=None, - is_test=False, - momentum=0.9, - epsilon=1e-05, - param_attr=None, - bias_attr=None, - data_layout='NCHW', - in_place=False, - name=None, - moving_mean_name=None, - moving_variance_name=None, - do_model_average_for_mean_and_var=False, - fuse_with_relu=False, - use_global_stats=False + act = None, + is_test = False, + momentum = 0.9, + epsilon = 1e-05, + param_attr = None, + bias_attr = None, + data_layout = 'NCHW', + in_place = False, + name = None, + moving_mean_name = None, + moving_variance_name = None, + do_model_average_for_mean_and_var = False, + fuse_with_relu = False, + use_global_stats = False ) ```