code: def _generate_data(self):
      data = Data(
          pos=torch.randn((self.num_points, 3)),
          x=torch.randn((self.num_points, self.feature_size))
          if self.feature_size
          else None,
          y=torch.randint(0, 10, (self.num_points,)),
          category=self._category,
      )
      if self.include_box:
          num_boxes = 10
          data.center_label = torch.randn(num_boxes, 3)
          data.heading_class_label = torch.zeros((num_boxes,))
          data.heading_residual_label = torch.randn((num_boxes,))
          data.size_class_label = torch.randint(
              0, len(self.mean_size_arr), (num_boxes,)
          )
          data.size_residual_label = torch.randn(num_boxes, 3)
          data.sem_cls_label = torch.randint(0, 10, (num_boxes,))
          data.box_label_mask = torch.randint(0, 1, (num_boxes,)).bool()
          data.vote_label = torch.randn(self.num_points, 9)
          data.vote_label_mask = torch.randint(
              0, 1, (self.num_points,)
          ).bool()
          data.instance_box_corners = torch.randn(
              (num_boxes, 8, 3)
          ).bool()
      if self.panoptic:
          data.num_instances = torch.tensor([10])
          data.center_label = torch.randn((self.num_points, 3))
          data.y = torch.randint(0, 10, (self.num_points,))
          data.instance_labels = torch.randint(
              0, 20, (self.num_points,)
          )
          data.instance_mask = torch.rand(self.num_points).bool()
          data.vote_label = torch.randn((self.num_points, 3))
      return data
  
imports: import numpy
  import torch
  from torch_geometric.data import Data, Batch
  from torch_points3d.datasets.batch import SimpleBatch
  from torch_points3d.core.data_transform import MultiScaleTransform
  from torch_points3d.datasets.multiscale_data import MultiScaleBatch
  from torch_points3d.datasets.registration.pair import Pair, PairBatch, PairMultiScaleBatch, DensePairBatch
label_desc: Use image node_id 4 for calling the MockDataset obj's underlying member method code with example usage: obj._generate_data() and returns: data