code: def _test_v2_eager_only_objects():
      return [
          combinations.NamedObject(
              "ragged",
              ragged_factory_ops.constant(
                  [[0, 1, 2, 3], [4, 5], [6, 7, 8], [9]]
              ),
          ),
          combinations.NamedObject(
              "sparse_ragged_structured",
              {
                  "sparse": sparse_tensor.SparseTensorValue(
                      indices=[[0, 0], [1, 2]],
                      values=[1, 2],
                      dense_shape=[3, 4],
                  ),
                  "ragged": ragged_factory_ops.constant(
                      [[0, 1, 2, 3], [9]]
                  ),
              },
          ),
      ]
  
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 2 for calling a global function with example usage: _test_v2_eager_only_objects() and returns: list