code: def test_dataloaders(self):
      dataset = ForwardShapenetDataset(self.config)
      dataset.create_dataloaders(
          MockModel(DictConfig({"conv_type": "DENSE"})),
          2,
          False,
          1,
          False,
      )
      forward_set = dataset.test_dataloaders[0]
      for b in forward_set:
          self.assertEqual(b.origin_id.shape, (2, 2))
  
      sparseconfig = DictConfig(
          {
              "dataroot": self.datadir,
              "category": "Airplane",
              "forward_category": "Airplane",
          }
      )
      dataset = ForwardShapenetDataset(sparseconfig)
      dataset.create_dataloaders(
          MockModel(DictConfig({"conv_type": "PARTIAL_DENSE"})),
          2,
          False,
          1,
          False,
      )
      forward_set = dataset.test_dataloaders[0]
      for b in forward_set:
          torch.testing.assert_allclose(
              b.origin_id, torch.tensor([0, 1, 2, 0, 1, 2, 3])
          )
          torch.testing.assert_allclose(
              b.sampleid, torch.tensor([0, 1])
          )
  
imports: import unittest
  import os
  import sys
  import torch
  from omegaconf.dictconfig import DictConfig
  import numpy.testing
  import numpy
  import copy
  from test.mock_models import MockModel
  from torch_points3d.datasets.segmentation.forward.shapenet import _ForwardShapenet, ForwardShapenetDataset
label_desc: Use image node_id 5 for calling the TestForwardData obj's underlying member method code with example usage: obj.test_dataloaders() without return types