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 testBijectiveAndFinite(self):
      low = -5.0
      high = 8.0
      bijector = sigmoid.Sigmoid(low=low, high=high, validate_args=True)
      x = np.linspace(-10, 10, num=100).astype(np.float32)
      eps = 1e-6
      y = np.linspace(low + eps, high - eps, num=100).astype(np.float32)
      bijector_test_util.assert_bijective_and_finite(
          bijector, x, y, eval_func=self.evaluate, event_ndims=0
      )
  
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 4 for calling the ShiftedScaledSigmoidBijectorTest obj's underlying member method code with example usage: obj.testBijectiveAndFinite() without return types