class_docstr: Tests correctness of Sigmoid with `low` and `high` parameters set.
class_docstr_tok: ["Tests","correctness","of","Sigmoid","with","`","low","`","and","`","high","`","parameters","set","."]
code: def testEdgeCaseRequiringClipping(self):
      np.set_printoptions(floatmode="unique", precision=None)
      lo = np.float32(0.010489981)
      hi = test_util.floats_near(0.010499111, 100, dtype=np.float32)[
          :, np.newaxis
      ]
      self.assertAllEqual([100, 1], hi.shape)
      xs = test_util.floats_near(9.814646, 100, dtype=np.float32)
      bijector = sigmoid.Sigmoid(low=lo, high=hi, validate_args=True)
      answers = bijector.forward(xs)
      self.assertAllEqual([100, 100], answers.shape)
      for ans1, hi1 in zip(self.evaluate(answers), hi):
          self.assertAllLessEqual(ans1, hi1)
  
imports: from absl.testing import parameterized
  import numpy
  from scipy import special
  import tensorflow.compat.v2
  from tensorflow_probability.python.bijectors import bijector_test_util
  from tensorflow_probability.python.bijectors import chain
  from tensorflow_probability.python.bijectors import scale
  from tensorflow_probability.python.bijectors import shift
  from tensorflow_probability.python.bijectors import sigmoid
  from tensorflow_probability.python.internal import test_util
label_desc: Use image node_id 6 for calling the ShiftedScaledSigmoidBijectorTest obj's underlying member method code with example usage: obj.testEdgeCaseRequiringClipping() without return types