class_docstr: Generate a Global Optimizer of type TopoOptimizer.
class_docstr_tok: ["Generate","a","Global","Optimizer","of","type","TopoOptimizer","."]
code: def __init__(
      self,
      db,
      order="in_to_out",
      ignore_newtrees=False,
      failure_callback=None,
  ):
      super(TopoDB, self).__init__()
      self.db = db
      self.order = order
      self.ignore_newtrees = ignore_newtrees
      self.failure_callback = failure_callback
  
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 TopoDB object from inherited base classes: DB with example: obj = TopoDB(db, order, ignore_newtrees, failure_callback)