code: def __init__(
      self,
      batchsize_per_replica: int,
      shuffle: bool,
      transform: Optional[Union[ClassyTransform, Callable]],
      num_samples: int,
      crop_size: int,
      class_ratio: float,
      seed: int,
  ) -> None:
      dataset = RandomImageBinaryClassDataset(
          crop_size, class_ratio, num_samples, seed, SampleType.TUPLE
      )
      super().__init__(
          dataset,
          batchsize_per_replica,
          shuffle,
          transform,
          num_samples,
      )
  
file_path: ClassyVision/classy_vision/templates/synthetic/datasets/my_dataset.py
imports: from typing import Any, Callable, Dict, Optional, Union
  from classy_vision.dataset import ClassyDataset, register_dataset
  from classy_vision.dataset.core.random_image_datasets import RandomImageBinaryClassDataset, SampleType
  from classy_vision.dataset.transforms import build_transforms, ClassyTransform
label_desc: Use image node_id 1 to create a new MyDataset object from inherited base classes: ClassyDataset with example: obj = MyDataset(batchsize_per_replica, shuffle, transform, num_samples, crop_size, class_ratio, seed)