code: def __init__(self, sample, num=1):
      self.data = sample
      self.length = num
  
file_path: BigDL/python/nano/src/bigdl/nano/utils/pytorch/dataset.py
imports: import torch
  from torch.utils.data import Dataset
  from torch.utils.data.dataloader import default_collate
label_desc: Use image node_id 1 to create a new RepeatDataset object from inherited base classes: Dataset with example: obj = RepeatDataset(sample, num)