code: def __init__(
      self, config, dataset_type, imdb_file_index, *args, **kwargs
  ):
      super().__init__(
          config,
          dataset_type,
          imdb_file_index,
          dataset_name="visual_dialog",
          *args,
          **kwargs,
      )
  
      discriminative = config.discriminative
      self._discriminative = discriminative.enabled
      self._return_indices = discriminative.return_indices
      self._no_unk = config.no_unk
      self._return_history = config.return_history
  
file_path: mmf/mmf/datasets/builders/visual_dialog/dataset.py
imports: import copy
  import json
  import torch
  from mmf.common.sample import Sample
  from mmf.datasets.builders.visual_dialog.database import VisualDialogDatabase
  from mmf.datasets.builders.vqa2 import VQA2Dataset
label_desc: Use image node_id 1 to create a new VisualDialogDataset object from inherited base classes: VQA2Dataset with example: obj = VisualDialogDataset(config, dataset_type, imdb_file_index)