code: def __init__(self, dataset, replace_map, offsets):
      super().__init__(dataset)
      assert len(replace_map) > 0
      self.replace_map = replace_map
      self.offsets = offsets
  
imports: from .None import BaseWrapperDataset
label_desc: Use image node_id 1 to create a new ReplaceDataset object from inherited base classes: BaseWrapperDataset with example: obj = ReplaceDataset(dataset, replace_map, offsets)