code: def build_test_cases(data):
      [weight, bias, input] = data
      weight = Variable(weight, requires_grad=True)
      bias = Variable(bias, requires_grad=True)
      input = Variable(input)
  
      default_params = {
          "lr": 1e-3,
          "amsgrad": False,
          "grad_averaging": False,
          "weight_decay": 0,
      }
  
      test_case_same_param = [{"params": [weight, bias]}]
      test_case_diff_param = [
          {"params": [weight]},
          {
              "params": [bias],
              "lr": 1e-2,
              "amsgrad": True,
              "grad_averaging": True,
              "weight_decay": 0.1,
          },
      ]
  
      test_cases = [
          [test_case_same_param, default_params, weight, bias, input],
          [test_case_diff_param, default_params, weight, bias, input],
      ]
      return test_cases
  
file_path: MONAI/tests/test_optim_novograd.py
imports: from __future__ import annotations
  import unittest
  import torch
  from parameterized import parameterized
  from torch.autograd import Variable
  from monai.optimizers import Novograd
label_desc: Use image node_id 1 for calling a global function with example usage: build_test_cases(data) and returns: test_cases