code: def add_tags(self, name, *tags):
      obj = self.__db__[name]
      assert len(obj) == 1
      obj = obj.copy().pop()
      for tag in tags:
          if tag in self._names:
              raise ValueError(
                  "The tag of the object collides with a name.",
                  obj,
                  tag,
              )
          self.__db__[tag].add(obj)
  
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 4 for calling the DB obj's underlying member method code with example usage: obj.add_tags(name) without return types