code: def mlp():
      ni = tl.layers.Input([None, 784], name="input")
      net = tl.layers.Dropout(keep=0.8, name="drop1")(ni)
      net = tl.layers.Dense(
          n_units=n_units1, act=tf.nn.relu, name="relu1"
      )(net)
      net = tl.layers.Dropout(keep=0.5, name="drop2")(net)
      net = tl.layers.Dense(
          n_units=n_units2, act=tf.nn.relu, name="relu2"
      )(net)
      net = tl.layers.Dropout(keep=0.5, name="drop3")(net)
      net = tl.layers.Dense(n_units=10, act=None, name="output")(net)
      M = tl.models.Model(inputs=ni, outputs=net)
      return M
  
imports: import tensorflow
  import tensorlayer
label_desc: Use image node_id 1 for calling a global function with example usage: mlp() and returns: M