code: def test_dataset_items(self):
      builder = shapenet.Shapenet(data_dir=self.tmp_dir)
      self._download_and_prepare_as_dataset(builder)
      for split_name in self.SPLITS:
          items = tfds.as_numpy(builder.as_dataset(split=split_name))
          for item in items:
              expected = self.EXPECTED_ITEMS[split_name][
                  item["model_id"]
              ]
              self.assertEqual(
                  item["label"],
                  self._encode_synset(builder, expected["synset"]),
              )
              self.assertLen(
                  item["trimesh"]["vertices"], expected["num_vertices"]
              )
              self.assertLen(
                  item["trimesh"]["faces"], expected["num_faces"]
              )
  
file_path: graphics/tensorflow_graphics/datasets/shapenet/shapenet_test.py
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import os
  import tensorflow_datasets
  from tensorflow_graphics.datasets.shapenet import shapenet
label_desc: Use image node_id 1 for calling the ShapenetTest obj's underlying member method code with example usage: obj.test_dataset_items() without return types