class_docstr: IMDB data set from http://www.aclweb.org/anthology/P11-1015..
class_docstr_tok: ["IMDB","data","set","from","http",":","\/\/www.aclweb.org\/anthology\/P11-1015",".."]
code: def gen_iterators(self):
      if self.filepath is None:
          self.load_data()
  
      data = pad_data(
          self.filepath,
          vocab_size=self.vocab_size,
          sentence_length=self.sentence_length,
      )
      (X_train, y_train), (X_test, y_test), nclass = data
  
      self._data_dict = {"nclass": nclass}
      self._data_dict["train"] = ArrayIterator(
          X_train, y_train, nclass=2
      )
      self._data_dict["test"] = ArrayIterator(X_test, y_test, nclass=2)
      return self._data_dict
  
imports: import logging
  import numpy
  import os
  import h5py
  from neon.data.dataiterator import NervanaDataIterator, ArrayIterator
  from neon.data.datasets import Dataset
  from neon.data.text_preprocessing import pad_sentences, pad_data
label_desc: Use image node_id 3 for calling the IMDB obj's underlying member method code with example usage: obj.gen_iterators() and returns: self