class_docstr: Wrapper class for data config YAML
class_docstr_tok: ["Wrapper","class","for","data","config","YAML"]
code: def get_dataset_transforms(self, split, is_train):
      cfg = deepcopy(self.config)
      cfg["dataset_transforms"] = self.get_transforms(
          "dataset_", split, is_train
      )
      return cfg
  
imports: import logging
  from argparse import Namespace
  from copy import deepcopy
  from pathlib import Path
  from typing import Dict, Optional
  from fairseq.data import Dictionary
label_desc: Use image node_id 21 for calling the S2TDataConfig obj's underlying member method code with example usage: obj.get_dataset_transforms(split, is_train) and returns: cfg