class_docstr: Generate a local optimizer of type LocalOptGroup instead
  of a global optimizer.
  
  It supports the tracks, to only get applied to some Op.
class_docstr_tok: ["Generate","a","local","optimizer","of","type","LocalOptGroup","instead","of","a","global","optimizer",".","It","supports","the","tracks",",","to","only","get","applied","to","some","Op","."]
code: def __init__(
      self,
      apply_all_opts=False,
      profile=False,
      local_opt=opt.LocalOptGroup,
  ):
      super(LocalGroupDB, self).__init__()
      self.failure_callback = None
      self.apply_all_opts = apply_all_opts
      self.profile = profile
      self.__position__ = {}
      self.local_opt = local_opt
  
imports: from __future__ import absolute_import, print_function, division
  import copy
  import sys
  from theano.compat import DefaultOrderedDict
  from theano.misc.ordered_set import OrderedSet
  from six import StringIO, integer_types
  from theano.gof import opt
  from theano import config
label_desc: Use image node_id 1 to create a new LocalGroupDB object from inherited base classes: DB with example: obj = LocalGroupDB(apply_all_opts, profile, local_opt)