code: def make_test_params(optimizer_class):
      cases = [
          (
              lambda weight, bias: optimizer_class(
                  [weight, bias], lr=1e-3
              ),
          ),
          (
              lambda weight, bias: optimizer_class(
                  _build_params_dict(weight, bias, lr=1e-2), lr=1e-3
              ),
          ),
          (
              lambda weight, bias: optimizer_class(
                  _build_params_dict_single(weight, bias, lr=1e-2),
                  lr=1e-3,
              ),
          ),
          (
              lambda weight, bias: optimizer_class(
                  _build_params_dict_single(weight, bias, lr=1e-2)
              ),
          ),
          (
              lambda weight, bias: optimizer_class(
                  [weight, bias], lr=1e-3
              ),
              [lambda opt: StepLR(opt, gamma=0.9, step_size=10)],
          ),
          (
              lambda weight, bias: optimizer_class(
                  [weight, bias], lr=1e-3
              ),
              [
                  lambda opt: StepLR(opt, gamma=0.9, step_size=10),
                  lambda opt: ReduceLROnPlateau(opt),
              ],
          ),
          (
              lambda weight, bias: optimizer_class(
                  [weight, bias], lr=1e-3
              ),
              [
                  lambda opt: StepLR(opt, gamma=0.99, step_size=10),
                  lambda opt: ExponentialLR(opt, gamma=0.99),
                  lambda opt: ReduceLROnPlateau(opt),
              ],
          ),
      ]
      ids = [
          "%s_%s" % (optimizer_class.__name__, i)
          for i in range(len(cases))
      ]
      return cases, ids
  
file_path: pytorch-optimizer/tests/test_optimizer.py
imports: import functools
  from copy import deepcopy
  import torch
  from torch.autograd import Variable
  from torch.optim.lr_scheduler import ExponentialLR, ReduceLROnPlateau, StepLR
  import torch_optimizer
label_desc: Use image node_id 4 for calling a global function with example usage: make_test_params(optimizer_class) and returns: cases,  ids