code: def _silence_deprecation_warnings():
      """Context manager that best-effort silences TF deprecation warnings."""
      try:
          # Learn this one weird trick to make TF deprecation warnings go away.
          from tensorflow.python.util import deprecation
  
          return deprecation.silence()
      except (ImportError, AttributeError):
          return _NULLCONTEXT
  
imports: import contextlib
  from tensorboard import data_compat
  from tensorboard import dataclass_compat
  from tensorboard.compat import tf
  from tensorboard.compat.proto import event_pb2
  from tensorboard.util import platform_util
  from tensorboard.util import tb_logging
label_desc: Use image node_id 2 for calling a global function with example usage: _silence_deprecation_warnings() and returns: deprecation, _NULLCONTEXT