code: def dropout(x, pdrop, train):
      if train and pdrop > 0:
          x = tf.nn.dropout(x, 1 - (1 - pdrop))
      return x
  
label_desc: Use image node_id 2 for calling a global function with example usage: dropout(x, pdrop, train) and returns: x