code: def test_ragged_tensors(self):
      rt = tf.ragged.constant(
          [
              [1, 2, 3],
              [],
              [4, 5],
          ]
      )
      rt = dataset_utils.as_numpy(rt)
  
      if not tf.executing_eagerly():
          # Output of `sess.run(rt)` is a `RaggedTensorValue` object
          self.assertIsInstance(
              rt, tf.compat.v1.ragged.RaggedTensorValue
          )
      else:
          self.assertIsInstance(rt, tf.RaggedTensor)
  
      self.assertAllEqual(
          rt,
          tf.ragged.constant(
              [
                  [1, 2, 3],
                  [],
                  [4, 5],
              ]
          ),
      )
  
imports: from etils import enp
  import numpy
  import tensorflow
  from tensorflow_datasets import testing
  from tensorflow_datasets.core import dataset_utils
label_desc: Use image node_id 10 for calling the DatasetAsNumPyTest obj's underlying member method code with example usage: obj.test_ragged_tensors() without return types