code: def forward(self, x):
      if self.training:
          return self.two_scale_forward(x)
      else:
          return self.nscale_forward(x, self.n_scales)
  
file_path: PaddleSeg/contrib/CityscapesSOTA/models/mscale_ocrnet.py
imports: import math
  import paddle
  import paddle.nn
  from paddleseg.cvlibs import manager, param_init
  from paddleseg.utils import utils
  from paddleseg.models import layers
  from .ocrnet_nv import OCRNetNV
label_desc: Use image node_id 2 for calling the MscaleOCRNet obj's underlying member method code with example usage: obj.forward(x) and returns: self, self