code: def forward(self, input):
      if self.apply_residual:
          ret = self.layers(input) + input
      else:
          ret = self.layers(input)
      return ret
  
imports: from nni.retiarii import basic_unit
  import nni.retiarii.nn.pytorch
  import warnings
  import torch
  import torch.nn
  import torch.nn.functional
  from nni.retiarii import model_wrapper
  import sys
  from pathlib import Path
label_desc: Use image node_id 2 for calling the _InvertedResidual obj's underlying member method code with example usage: obj.forward(input) and returns: ret