code: def args_to_mixed_eager_tensors(lists, ctx):
      """Converts a list of same-length lists of values to eager tensors."""
      del ctx  # Unused
      assert len(lists) > 1
  
      # Generate an error if len(lists[i]) is not the same for all i.
      lists_ret = [[]]
      for l in lists[1:]:
          if len(l) != len(lists[0]):
              raise ValueError(
                  "Expected list arguments to be the same length: %d != %d (%r vs. %r)."
                  % (len(lists[0]), len(l), lists[0], l)
              )
          lists_ret.append([])
  
      # Convert the first element of each list first, then the second element, etc.
      types = []
      for i in range(len(lists[0])):
          dtype = None
          # If any list has a Tensor, use that dtype
          for l in lists:
              if isinstance(l[i], core_types.Value):
                  dtype = l[i].dtype
                  break
          if dtype is None:
              # Convert the first one and use its dtype.
              lists_ret[0].append(
                  tensor_conversion_registry.convert(lists[0][i])
              )
              dtype = lists_ret[0][i].dtype
              for j in range(1, len(lists)):
                  lists_ret[j].append(
                      tensor_conversion_registry.convert(
                          lists[j][i], dtype=dtype
                      )
                  )
          else:
              # Convert everything to the found dtype.
              for j in range(len(lists)):
                  lists_ret[j].append(
                      tensor_conversion_registry.convert(
                          lists[j][i], dtype=dtype
                      )
                  )
          types.append(dtype.as_datatype_enum)
      return types, lists_ret
  
imports: from google.protobuf import text_format
  from tensorflow.core.framework import tensor_pb2
  from tensorflow.python import pywrap_tfe
  from tensorflow.python.eager import core
  from tensorflow.python.framework import dtypes
  from tensorflow.python.framework import tensor_conversion_registry
  from tensorflow.python.framework import tensor_shape
  from tensorflow.python.types import core
  from tensorflow.python.util import compat
label_desc: Use image node_id 15 for calling a global function with example usage: args_to_mixed_eager_tensors(lists, ctx) and returns: types,  lists_ret