code: def _test_to_batched_tensor_list_combinations():
      cases = [
          (
              "Tensor",
              lambda: constant_op.constant([[1.0, 2.0], [3.0, 4.0]]),
              lambda: constant_op.constant([1.0, 2.0]),
          ),
          (
              "SparseTensor",
              lambda: sparse_tensor.SparseTensor(
                  indices=[[0, 0], [1, 1]],
                  values=[13, 27],
                  dense_shape=[2, 2],
              ),
              lambda: sparse_tensor.SparseTensor(
                  indices=[[0]], values=[13], dense_shape=[2]
              ),
          ),
          (
              "RaggedTensor",
              lambda: ragged_factory_ops.constant([[[1]], [[2]]]),
              lambda: ragged_factory_ops.constant([[1]]),
          ),
          (
              "Nest",
              lambda: (
                  constant_op.constant([[1.0, 2.0], [3.0, 4.0]]),
                  sparse_tensor.SparseTensor(
                      indices=[[0, 0], [1, 1]],
                      values=[13, 27],
                      dense_shape=[2, 2],
                  ),
              ),
              lambda: (
                  constant_op.constant([1.0, 2.0]),
                  sparse_tensor.SparseTensor(
                      indices=[[0]], values=[13], dense_shape=[2]
                  ),
              ),
          ),
      ]
  
      def reduce_fn(x, y):
          name, value_fn, element_0_fn = y
          return x + combinations.combine(
              value_fn=combinations.NamedObject(
                  "value_fn.{}".format(name), value_fn
              ),
              element_0_fn=combinations.NamedObject(
                  "element_0_fn.{}".format(name), element_0_fn
              ),
          )
  
      return functools.reduce(reduce_fn, cases, [])
  
imports: import collections
  import dataclasses
  import functools
  from absl.testing import parameterized
  import numpy
  import wrapt
  from tensorflow.python.data.kernel_tests import test_base
  from tensorflow.python.data.ops import dataset_ops
  from tensorflow.python.data.util import nest
  from tensorflow.python.data.util import structure
  from tensorflow.python.framework import combinations
  from tensorflow.python.framework import constant_op
  from tensorflow.python.framework import dtypes
  from tensorflow.python.framework import sparse_tensor
  from tensorflow.python.framework import tensor
  from tensorflow.python.framework import tensor_shape
  from tensorflow.python.ops import array_ops
  from tensorflow.python.ops import tensor_array_ops
  from tensorflow.python.ops import variables
  from tensorflow.python.ops.ragged import ragged_factory_ops
  from tensorflow.python.ops.ragged import ragged_tensor
  from tensorflow.python.ops.ragged import ragged_tensor_value
  from tensorflow.python.platform import test
  from tensorflow.python.util.compat import collections_abc
label_desc: Use image node_id 10 for calling a global function with example usage: _test_to_batched_tensor_list_combinations() and returns: functools, unknown