# is_bn_params = lambda param: (param.name.find('bn') != -1 and (param.name.endswith('_offset') or param.name.endswith('_mean') or param.name.endswith('_scale') or param.name.endswith('_variance')))
# all_param_names = {p.name for p in all_parameters if not is_bn_params(p)}
# ops = global_block.ops
# for param in all_parameters:
# if param.name in all_param_names:
# param_var = global_block.var(param.name)
# if param_var.dtype == core.VarDesc.VarType.FP32: