code: def maybe_tuple(data):
      """Returns `tuple(data)` if :attr:`data` contains more than 1 elements.
  
      Used to wrap `map_func` inputs.
      """
      data = tuple(data)
      data = data if len(data) > 1 else data[0]
      return data
  
imports: import six
  import tensorflow
  import numpy
  from texar.tf.utils import utils
label_desc: Use image node_id 5 for calling a global function with example usage: maybe_tuple(data) and returns: data