code: def __call__(self, func):
      @functools.wraps(func)
      def wrapper(*args, **kwargs):
          with self:
              return func(*args, **kwargs)
  
      return wrapper
  
file_path: pytorch/caffe2/python/layers/tags.py
imports: import functools
  from caffe2.python import context
label_desc: Use image node_id 4 for calling the Tags obj's underlying member method code with example usage: obj.__call__(func) and returns: wrapper, func