class_docstr: Base (global) object available to all other classes.
  
  Attributes:
      be (Backend): Hardware backend being used.
class_docstr_tok: ["Base","(","global",")","object","available","to","all","other","classes",".","Attributes",":","be","(","Backend",")",":","Hardware","backend","being","used","."]
code: def gen_class(cls, pdict):
      for key in pdict:
          # check for any nervanaobject types in
          # the parameter list
          if type(pdict[key]) in [tuple, list]:
              for ind, val in enumerate(pdict[key]):
                  cls.recursive_gen(pdict[key], ind)
          else:
              cls.recursive_gen(pdict, key)
  
      return cls(**pdict)
  
file_path: neon/neon/__init__.py
imports: from __future__ import print_function
  from builtins import zip
  from copy import deepcopy
  import inspect
  import logging
  from neon.util.persist import load_class
label_desc: Use image node_id 3 for calling the NervanaObject obj's underlying member method code with example usage: obj.gen_class(cls, pdict) and returns: cls