code: def configure_optimizers(self):
      optimizer = torch.optim.Adam(
          self.parameters(), lr=0.002, amsgrad=True
      )
      return optimizer
  
file_path: BigDL/python/nano/test/pytorch/utils/_train_imagefolder.py
imports: import os
  import torch
  from bigdl.nano.pytorch.vision.datasets import ImageFolder
  from bigdl.nano.pytorch.vision.transforms import transforms
  import pytorch_lightning
  from torch.utils.data import DataLoader
  from bigdl.nano.pytorch.vision.models import ImageClassifier
label_desc: Use image node_id 2 for calling the Net obj's underlying member method code with example usage: obj.configure_optimizers() and returns: optimizer