code: def get_output(self, w, h):
      key = (w, h)
      if key in self.sym_map:
          return self.sym_map[key]
      ret = None
      if h == self.n:
          if w == self.n:
              ret = (self.data, self.nFilters)
          else:
              x = self.get_output(w + 1, h)
              f = int(x[1] * 0.5)
              if w != self.n - 1:
                  body = lin3(
                      x[0],
                      f,
                      self.workspace,
                      "%s_w%d_h%d_1" % (self.name, w, h),
                      3,
                      self.group,
                      1,
                  )
              else:
                  body = lin3(
                      x[0],
                      f,
                      self.workspace,
                      "%s_w%d_h%d_1" % (self.name, w, h),
                      3,
                      self.group,
                      self.dilate,
                  )
              ret = (body, f)
      else:
          x = self.get_output(w + 1, h + 1)
          y = self.get_output(w, h + 1)
          if h % 2 == 1 and h != w:
              xbody = lin3(
                  x[0],
                  x[1],
                  self.workspace,
                  "%s_w%d_h%d_2" % (self.name, w, h),
                  3,
                  x[1],
              )
              # xbody = xbody+x[0]
          else:
              xbody = x[0]
          # xbody = x[0]
          # xbody = lin3(x[0], x[1], self.workspace, "%s_w%d_h%d_2"%(self.name, w, h), 3, x[1])
          if w == 0:
              ybody = lin3(
                  y[0],
                  y[1],
                  self.workspace,
                  "%s_w%d_h%d_3" % (self.name, w, h),
                  3,
                  self.group,
              )
          else:
              ybody = y[0]
          ybody = mx.sym.concat(y[0], ybody, dim=1)
          body = mx.sym.add_n(
              xbody, ybody, name="%s_w%d_h%d_add" % (self.name, w, h)
          )
          body = body / 2
          ret = (body, x[1])
      self.sym_map[key] = ret
      return ret
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import mxnet
  import numpy
  from config import config
label_desc: Use image node_id 2 for calling the CAB obj's underlying member method code with example usage: obj.get_output(w, h) and returns: ret, self