(inputs, name=None)
return fluid.layers.batch_norm(
        inputs, momentum=FLAGS.bn_decay, epsilon=0.001,
        param_attr=param_attr,
        bias_attr=bias_attr)
batch norm
batch norm
batch norm
def batch_norm(inputs, name=None):
    """
        batch norm
    """
    param_attr = fluid.param_attr.ParamAttr(
        regularizer=fluid.regularizer.L2Decay(FLAGS.weight_decay))
    bias_attr = fluid.param_attr.ParamAttr(
        regularizer=fluid.regularizer.L2Decay(FLAGS.weight_decay))

    return fluid.layers.batch_norm(
        inputs, momentum=FLAGS.bn_decay, epsilon=0.001,
        param_attr=param_attr,
        bias_attr=bias_attr)
def batch_norm ( inputs , name = None ) : param_attr = fluid . param_attr . ParamAttr ( regularizer = fluid . regularizer . L2Decay ( FLAGS . weight_decay ) ) bias_attr = fluid . param_attr . ParamAttr ( regularizer = fluid . regularizer . L2Decay ( FLAGS . weight_decay ) ) return fluid . layers . batch_norm ( inputs , momentum = FLAGS . bn_decay , epsilon = 0.001 , param_attr = param_attr , bias_attr = bias_attr )