code: def __exit__(self, type, value, traceback):
      TagContext.current().remove_tags(self.tags)
  
file_path: pytorch/caffe2/python/layers/tags.py
imports: import functools
  from caffe2.python import context
label_desc: Use image node_id 3 for calling the Tags obj's underlying member method code with example usage: obj.__exit__(type, value, traceback) without return types