code: def test_nested_tensors(self):
      t1 = tf.random.normal((10, 10))
      t2 = tf.random.normal((10, 20))
      nest_tup = (t1, t2)
      np_t1, np_t2 = dataset_utils.as_numpy(nest_tup)
      self.assertEqual((10, 10), np_t1.shape)
      self.assertEqual(np.float32, np_t1.dtype)
      self.assertEqual((10, 20), np_t2.shape)
      self.assertEqual(np.float32, np_t2.dtype)
  
      nest_dict = {"foo": t1, "bar": {"zoo": t2}}
      np_nest_dict = dataset_utils.as_numpy(nest_dict)
      np_t1 = np_nest_dict["foo"]
      np_t2 = np_nest_dict["bar"]["zoo"]
      self.assertEqual((10, 10), np_t1.shape)
      self.assertEqual(np.float32, np_t1.dtype)
      self.assertEqual((10, 20), np_t2.shape)
      self.assertEqual(np.float32, np_t2.dtype)
  
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 2 for calling the DatasetAsNumPyTest obj's underlying member method code with example usage: obj.test_nested_tensors() without return types