code: def forward(self, x, foo=None):
      z = self.dropout1(x)
      z = self.dense1(z)
      z = self.dropout2(z)
      z = self.dense2(z)
      z = self.dropout3(z)
      out = self.dense3(z)
      if foo is not None:
          out = tf.nn.relu(out)
      return out
  
file_path: TensorLayer/examples/basic_tutorials/tutorial_mnist_mlp_dynamic.py
imports: import time
  import numpy
  import tensorflow
  import tensorlayer
  from tensorlayer.layers import Dense, Dropout, Input
  from tensorlayer.models import Model
label_desc: Use image node_id 2 for calling the CustomModel obj's underlying member method code with example usage: obj.forward(x, foo) and returns: out