code: def mlp(
      x, hidden_sizes=(32,), activation=tf.tanh, output_activation=None
  ):
      """
      Builds a multi-layer perceptron in Tensorflow.
  
      Args:
          x: Input tensor.
  
          hidden_sizes: Tuple, list, or other iterable giving the number of units
              for each hidden layer of the MLP.
  
          activation: Activation function for all layers except last.
  
          output_activation: Activation function for last layer.
  
      Returns:
          A TF symbol for the output of an MLP that takes x as an input.
  
      """
      #######################
      #                     #
      #   YOUR CODE HERE    #
      #                     #
      #######################
      pass
  
imports: import tensorflow
  import numpy
  from spinup.exercises.tf1.problem_set_1 import exercise1_1
label_desc: Use image node_id 1 for calling a global function with example usage: mlp(x, hidden_sizes, activation, output_activation) without return types