code: def get_symbol(num_classes=10, **kwargs):
      data = mx.symbol.Variable("data")
      data = mx.sym.Flatten(data=data)
      try:
          fc1 = mx.symbol.FullyConnected(
              data=data, name="fc1", num_hidden=128, flatten=False
          )
          act1 = mx.symbol.Activation(
              data=fc1, name="relu1", act_type="relu"
          )
          fc2 = mx.symbol.FullyConnected(
              data=act1, name="fc2", num_hidden=64, flatten=False
          )
          act2 = mx.symbol.Activation(
              data=fc2, name="relu2", act_type="relu"
          )
          fc3 = mx.symbol.FullyConnected(
              data=act2,
              name="fc3",
              num_hidden=num_classes,
              flatten=False,
          )
          mlp = mx.symbol.softmax(data=fc3, name="softmax")
      except:
          fc1 = mx.symbol.FullyConnected(
              data=data, name="fc1", num_hidden=128
          )
          act1 = mx.symbol.Activation(
              data=fc1, name="relu1", act_type="relu"
          )
          fc2 = mx.symbol.FullyConnected(
              data=act1, name="fc2", num_hidden=64
          )
          act2 = mx.symbol.Activation(
              data=fc2, name="relu2", act_type="relu"
          )
          fc3 = mx.symbol.FullyConnected(
              data=act2, name="fc3", num_hidden=num_classes
          )
          mlp = mx.symbol.softmax(data=fc3, name="softmax")
      return mlp
  
label_desc: Use image node_id 1 for calling a global function with example usage: get_symbol(num_classes) and returns: mlp