code: def load_sample(self, index: int) -> Any:
      sample = self.dataset[index]
      return {
          DataKeys.INPUT: sample["data"],
          DataKeys.METADATA: sample["attr"],
      }
  
file_path: lightning-flash/src/flash/pointcloud/segmentation/input.py
imports: from typing import Any
  from torch.utils.data import Dataset
  from flash.core.data.io.input import DataKeys, Input
  from flash.core.utilities.imports import requires
  from flash.pointcloud.segmentation.open3d_ml.sequences_dataset import SequencesDataset
label_desc: Use image node_id 2 for calling the PointCloudSegmentationDatasetInput obj's underlying member method code with example usage: obj.load_sample(index) and returns: dict