code: def test_de_noise_exception(self):
      with self.assertRaises(ValueError):
          utils.de_noise([[1, 2, 3]], [[1, 2, 3]], ratio=1.1)
      with self.assertRaises(ValueError):
          utils.de_noise([[1, 2, 3]], [[1, 2, 3]], ratio=-0.1)
      with self.assertRaises(tf.errors.InvalidArgumentError):
          utils.de_noise([[-1, 2, 3]], [[1, 2, 3]])
      with self.assertRaises(tf.errors.InvalidArgumentError):
          utils.de_noise([[1, 2, 3]], [[0, 2, 3]])
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import math
  import tensorflow
  from tensorflow_ranking.python import utils
label_desc: Use image node_id 17 for calling the UtilsTest obj's underlying member method code with example usage: obj.test_de_noise_exception() without return types