code: def save_context(options):
      if in_save_context():
          raise ValueError("Already in a SaveContext.")
      _save_context.enter_save_context(options)
      try:
          yield
      finally:
          _save_context.exit_save_context()
  
file_path: tensorflow-upstream/tensorflow/python/saved_model/save_context.py
imports: import contextlib
  import threading
label_desc: Use image node_id 1 for calling a global function with example usage: save_context(options) without return types