class_docstr: Two-gram benchmark model.
  
  :param inferenceType: (:class:`nupic.frameworks.opf.opf_utils.InferenceType`)
  :param encoders: a dict of dicts, eventually sent to
         :meth:`~nupic.encoders.multi.MultiEncoder.addMultipleEncoders` (see
         docs of that method for param details).
code: def __getstate__(self):
      # NOTE This deletion doesn't seem to make sense, as someone might want to
      # serialize and then continue to use the model instance.
      del self._logger
      return self.__dict__
  
imports: import collections
  import itertools
  from nupic import encoders
  from nupic.data import field_meta
  from nupic.frameworks.opf import model
  from nupic.frameworks.opf import opf_utils
  from opf_utils import InferenceType
label_desc: Use image node_id 12 for calling the TwoGramModel obj's underlying member method code with example usage: obj.__getstate__() and returns: self