class_docstr: A wrapper class for MMDataset for fairseq.
class_docstr_tok: ["A","wrapper","class","for","MMDataset","for","fairseq","."]
code: def set_epoch(self, epoch, **unused):
      super().set_epoch(epoch)
      self.epoch = epoch
  
file_path: fairseq/examples/MMPT/mmpt/datasets/fairseqmmdataset.py
imports: from collections import OrderedDict
  from torch.utils.data import Dataset
  from torch.utils.data.dataloader import default_collate
  from fairseq.data import FairseqDataset, data_utils
label_desc: Use image node_id 2 for calling the FairseqMMDataset obj's underlying member method code with example usage: obj.set_epoch(epoch) without return types