code: def silence_tf_error_messages(func):
      """Decorator that temporarily changes the TF logging levels."""
  
      def wrapper(*args, **kwargs):
          cur_verbosity = tf.compat.v1.logging.get_verbosity()
          tf.compat.v1.logging.set_verbosity(tf.compat.v1.logging.FATAL)
          func(*args, **kwargs)
          tf.compat.v1.logging.set_verbosity(
              cur_verbosity
          )  # Reset verbosity.
  
      return wrapper
  
file_path: privacy/tensorflow_privacy/privacy/dp_query/discrete_gaussian_query_test.py
imports: from absl.testing import parameterized
  import numpy
  import tensorflow
  from tensorflow_privacy.privacy.dp_query import discrete_gaussian_query
  from tensorflow_privacy.privacy.dp_query import discrete_gaussian_utils
  from tensorflow_privacy.privacy.dp_query import test_utils
label_desc: Use image node_id 1 for calling a global function with example usage: silence_tf_error_messages(func) and returns: wrapper