code: def build_network(self, class_num=1000, **configs):
      data = mx.sym.Variable("data")
      self.config_map.update(configs)
      # first conv2d block
      first_c = int(
          round(
              self.config_map["firstconv_filter_num"] * self.multiplier
          )
      )
      first_layer = mobilenet_unit(
          data=data,
          num_filter=first_c,
          kernel=(3, 3),
          stride=(2, 2),
          pad=(1, 1),
          if_act=True,
          prefix="first-3x3-conv",
      )
      last_bottleneck_layer = first_layer
      in_c = first_c
      # bottleneck sequences
      for i, layer_setting in enumerate(
          self.config_map["bottleneck_params_list"]
      ):
          t, c, n, s = layer_setting
          last_bottleneck_layer = inverted_residual_blocks(
              data=last_bottleneck_layer,
              in_c=in_c,
              t=t,
              c=int(round(c * self.multiplier)),
              n=n,
              s=s,
              prefix="seq-%d" % i,
          )
          in_c = int(round(c * self.multiplier))
      # last conv2d block before global pooling
      last_fm = mobilenet_unit(
          data=last_bottleneck_layer,
          num_filter=int(1280 * self.multiplier)
          if self.multiplier > 1.0
          else 1280,
          kernel=(1, 1),
          stride=(1, 1),
          pad=(0, 0),
          if_act=True,
          prefix="last-1x1-conv",
      )
      # global average pooling
      pool_size = int(self.data_wh[0] / 32)
      pool = mx.sym.Pooling(
          data=last_fm,
          kernel=(pool_size, pool_size),
          stride=(1, 1),
          pool_type="avg",
          name="global_pool",
          global_pool=True,
      )
      flatten = mx.sym.Flatten(data=pool, name="flatten")
      fc = mx.symbol.FullyConnected(
          data=flatten, num_hidden=class_num, name="fc"
      )
      softmax = mx.symbol.SoftmaxOutput(data=fc, name="softmax")
  
      return softmax
  
file_path: byteps/example/mxnet/symbols/mobilenetv2.py
imports: import mxnet
label_desc: Use image node_id 2 for calling the MobileNetV2 obj's underlying member method code with example usage: obj.build_network(class_num) and returns: softmax