code: def mlp(
      x, hidden_sizes=(32,), activation=tf.tanh, output_activation=None
  ):
      for h in hidden_sizes[:-1]:
          x = tf.layers.dense(x, units=h, activation=activation)
      return tf.layers.dense(
          x, units=hidden_sizes[-1], activation=output_activation
      )
  
imports: import numpy
  import tensorflow
  import time
  from spinup.utils.logx import EpochLogger
label_desc: Use image node_id 1 for calling a global function with example usage: mlp(x, hidden_sizes, activation, output_activation) and returns: tf