(self, setname)
return self.data_dict[setname]
Helper method to get the data iterator for specified dataset

        Arguments:
            setname (str): which iterator to return (e.g. 'train', 'valid')
Helper method to get the data iterator for specified dataset
Helper method to get the data iterator for specified dataset
def get_iterator(self, setname):
        """
        Helper method to get the data iterator for specified dataset

        Arguments:
            setname (str): which iterator to return (e.g. 'train', 'valid')
        """
        assert setname in self.data_dict, 'no iterator for set %s' % setname
        return self.data_dict[setname]
def get_iterator ( self , setname ) : assert setname in self . data_dict , 'no iterator for set %s' % setname return self . data_dict [ setname ]