(self)
return self
Generator that can be used to iterate over this dataset
        Input: clip a long sentence from the left
               encoder input: take sentence and pad 0 from the left
               decoder input: take the sentence length -1, prepend a <eos>, pad 0 from the right
        output: decoder output: take the sentence length, pad 0 from the right
Generator that can be used to iterate over this dataset
        Input: clip a long sentence from the left
               encoder input: take sentence and pad 0 from the left
               decoder input: take the sentence length -1, prepend a <eos>, pad 0 from the right
        output: decoder output: take the sentence length, pad 0 from the right
Generator that can be used to iterate over this dataset Input : clip a long sentence from the left encoder input : take sentence and pad 0 from the left decoder input : take the sentence length - 1 prepend a <eos > pad 0 from the right output : decoder output : take the sentence length pad 0 from the right
def __iter__(self):
        """
        Generator that can be used to iterate over this dataset
        Input: clip a long sentence from the left
               encoder input: take sentence and pad 0 from the left
               decoder input: take the sentence length -1, prepend a <eos>, pad 0 from the right
        output: decoder output: take the sentence length, pad 0 from the right
        """
        return self
def __iter__ ( self ) : return self