def METHOD_NAME(param_list, center=True, scale=True):
  if center and scale:
    assert len(
        param_list) == 4, "expect 4 parameters names, got " + str(param_list)
    return {
        'gamma': param_list[0],
        'beta': param_list[1],
        'mean': param_list[2],
        'var': param_list[3]
    }
  elif center:
    assert len(
        param_list) == 3, "expect 3 parameters names, got " + str(param_list)
    return {'beta': param_list[0], 'mean': param_list[1], 'var': param_list[2]}
  elif scale:
    assert len(
        param_list) == 3, "expect 3 parameters names, got " + str(param_list)
    return {'gamma': param_list[0], 'mean': param_list[1], 'var': param_list[2]}