class_docstr: Random dataset for testing PL Module.
class_docstr_tok: ["Random","dataset","for","testing","PL","Module","."]
docstr: Get datapoint.
docstr_tok: ["Get","datapoint","."]
code: def __getitem__(self, index) -> torch.Tensor:
      """Get datapoint."""
      return self.data[index]
  
imports: import torch
  from lightning_utilities import module_available
  from torch.utils.data import Dataset
label_desc: Use image node_id 2 for calling the RandomDataset obj's underlying member method code with example usage: obj.__getitem__(index) and returns: self