code: def get_symbol(num_classes=1000, dtype="float32", **kwargs):
      data = mx.sym.Variable(name="data")
      if dtype == "float32":
          data = mx.sym.identity(data=data, name="id")
      else:
          if dtype == "float16":
              data = mx.sym.Cast(data=data, dtype=np.float16)
      x = Inception_stem(data, name="in_stem")
  
      # 4 * InceptionA
      # x = InceptionA(x, name='in1A')
      # x = InceptionA(x, name='in2A')
      # x = InceptionA(x, name='in3A')
      # x = InceptionA(x, name='in4A')
  
      for i in range(4):
          x = InceptionA(x, name="in%dA" % (i + 1))
  
      # Reduction A
      x = ReductionA(x, name="re1A")
  
      # 7 * InceptionB
      # x = InceptionB(x, name='in1B')
      # x = InceptionB(x, name='in2B')
      # x = InceptionB(x, name='in3B')
      # x = InceptionB(x, name='in4B')
      # x = InceptionB(x, name='in5B')
      # x = InceptionB(x, name='in6B')
      # x = InceptionB(x, name='in7B')
  
      for i in range(7):
          x = InceptionB(x, name="in%dB" % (i + 1))
  
      # ReductionB
      x = ReductionB(x, name="re1B")
  
      # 3 * InceptionC
      # x = InceptionC(x, name='in1C')
      # x = InceptionC(x, name='in2C')
      # x = InceptionC(x, name='in3C')
  
      for i in range(3):
          x = InceptionC(x, name="in%dC" % (i + 1))
  
      # Average Pooling
      x = mx.sym.Pooling(
          x,
          kernel=(8, 8),
          pad=(1, 1),
          pool_type="avg",
          name="global_avgpool",
      )
  
      # Dropout
      x = mx.sym.Dropout(x, p=0.2)
  
      flatten = mx.sym.Flatten(x, name="flatten")
      fc1 = mx.sym.FullyConnected(
          flatten, num_hidden=num_classes, name="fc1"
      )
      if dtype == "float16":
          fc1 = mx.sym.Cast(data=fc1, dtype=np.float32)
      softmax = mx.sym.SoftmaxOutput(fc1, name="softmax")
  
      return softmax
  
file_path: byteps/example/mxnet/symbols/inception-v4.py
imports: import mxnet
  import numpy
label_desc: Use image node_id 8 for calling a global function with example usage: get_symbol(num_classes, dtype) and returns: softmax