code: def __init__(self, dataset, reduce=False):
      super().__init__(dataset)
      self.reduce = reduce
  
file_path: fairseq/fairseq/data/numel_dataset.py
imports: import numpy
  import torch
  from .None import BaseWrapperDataset
label_desc: Use image node_id 1 to create a new NumelDataset object from inherited base classes: BaseWrapperDataset with example: obj = NumelDataset(dataset, reduce)