code: def _test_objects():
      Item = namedtuple("Item", "id name")
  
      return [
          combinations.NamedObject("int", 1),
          combinations.NamedObject("string", "dog"),
          combinations.NamedObject("tuple", (1, 1)),
          combinations.NamedObject("nested_tuple", ((1, 1), (2, 2))),
          combinations.NamedObject(
              "named_tuple", Item(id=1, name="item1")
          ),
          combinations.NamedObject("unicode", "アヒル"),
          combinations.NamedObject(
              "nested_named_tuple",
              (Item(id=1, name="item1"), Item(id=2, name="item2")),
          ),
          combinations.NamedObject("int_string_tuple", (1, "dog")),
          combinations.NamedObject(
              "sparse",
              sparse_tensor.SparseTensorValue(
                  indices=[[0, 0], [1, 2]],
                  values=[1, 2],
                  dense_shape=[3, 4],
              ),
          ),
          combinations.NamedObject(
              "sparse_structured",
              {
                  "a": sparse_tensor.SparseTensorValue(
                      indices=[[0, 0], [1, 2]],
                      values=[1, 2],
                      dense_shape=[3, 4],
                  ),
                  "b": (1, 2, "dog"),
              },
          ),
      ]
  
imports: from collections import namedtuple
  from absl.testing import parameterized
  from tensorflow.python.data.experimental.ops import compression_ops
  from tensorflow.python.data.kernel_tests import test_base
  from tensorflow.python.data.ops import dataset_ops
  from tensorflow.python.data.util import structure
  from tensorflow.python.eager import context
  from tensorflow.python.framework import combinations
  from tensorflow.python.framework import errors
  from tensorflow.python.framework import sparse_tensor
  from tensorflow.python.ops.ragged import ragged_factory_ops
  from tensorflow.python.platform import test
label_desc: Use image node_id 1 for calling a global function with example usage: _test_objects() and returns: list