code: def list_to_tuple(maybe_list):
      """Datasets will stack the list of tensor, so switch them to tuples."""
      if isinstance(maybe_list, list):
          return tuple(maybe_list)
      return maybe_list
  
file_path: tensorflow/tensorflow/python/keras/engine/training_utils.py
imports: import numpy
  from tensorflow.python.framework import tensor_shape
  from tensorflow.python.framework import tensor_util
  from tensorflow.python.keras.utils import generic_utils
  from tensorflow.python.ops import array_ops
  from tensorflow.python.util import nest
label_desc: Use image node_id 5 for calling a global function with example usage: list_to_tuple(maybe_list) and returns: maybe_list, tuple