code: def build_optimizers(cls, args, model):
      optim = torch.optim.Adam(model.layer1.parameters())
      optim2 = torch.optim.Adam(model.layer2.parameters())
      optimizers = [optim, optim2]
      return optimizers
  
imports: import configargparse
  import pytest
  import torch
  from espnet2.tasks.abs_task import AbsTask
  from espnet2.torch_utils.device_funcs import force_gatherable
  from espnet2.train.abs_espnet_model import AbsESPnetModel
  from espnet2.train.collate_fn import CommonCollateFn
label_desc: Use image node_id 7 for calling the TestTask obj's underlying member method code with example usage: obj.build_optimizers(cls, args, model) and returns: optimizers