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 testBijector(self):
      low = np.array([[-3.0], [0.0], [5.0]]).astype(np.float32)
      high = 12.0
  
      bijector = sigmoid.Sigmoid(low=low, high=high, validate_args=True)
  
      equivalent_bijector = chain.Chain(
          [
              shift.Shift(shift=low),
              scale.Scale(scale=high - low),
              sigmoid.Sigmoid(),
          ]
      )
  
      x = [[[1.0, 2.0, -5.0, -0.3]]]
      y = self.evaluate(equivalent_bijector.forward(x))
      self.assertAllClose(y, self.evaluate(bijector.forward(x)))
      self.assertAllClose(
          x, self.evaluate(bijector.inverse(y)[..., :1, :]), rtol=1e-5
      )
      self.assertAllClose(
          self.evaluate(
              equivalent_bijector.inverse_log_det_jacobian(
                  y, event_ndims=1
              )
          ),
          self.evaluate(
              bijector.inverse_log_det_jacobian(y, event_ndims=1)
          ),
          rtol=1e-5,
      )
      self.assertAllClose(
          self.evaluate(
              equivalent_bijector.forward_log_det_jacobian(
                  x, event_ndims=1
              )
          ),
          self.evaluate(
              bijector.forward_log_det_jacobian(x, event_ndims=1)
          ),
      )
  
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 1 for calling the ShiftedScaledSigmoidBijectorTest obj's underlying member method code with example usage: obj.testBijector() without return types