class_docstr: This class defines an iterator for loading and iterating the sentences in
  a structure to train the skip-thought vectors
class_docstr_tok: ["This","class","defines","an","iterator","for","loading","and","iterating","the","sentences","in","a","structure","to","train","the","skip-thought","vectors"]
docstr: 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
docstr_tok: ["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"]
code: 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
  
file_path: neon/examples/skip-thought/data_iterator.py
imports: from __future__ import division
  import numpy
  import h5py
  import copy
  from neon.data.dataiterator import NervanaDataIterator
label_desc: Use image node_id 4 for calling the SentenceHomogenous obj's underlying member method code with example usage: obj.__iter__() and returns: self