class_docstr: Tests correctness of the `b(x) = 1 / x` bijector.
class_docstr_tok: ["Tests","correctness","of","the","`","b","(","x",")","=","1","\/","x","`","bijector","."]
code: def testBijectiveAndFinite(self, lower, upper):
      bijector = reciprocal.Reciprocal()
      x = np.linspace(lower, upper, num=100).astype(np.float32)
      y = np.linspace(lower, upper, num=100).astype(np.float32)
      bijector_test_util.assert_bijective_and_finite(
          bijector, x, y, eval_func=self.evaluate, event_ndims=0
      )
  
file_path: probability/tensorflow_probability/python/bijectors/reciprocal_test.py
imports: from absl.testing import parameterized
  import numpy
  import tensorflow.compat.v2
  from tensorflow_probability.python.bijectors import bijector_test_util
  from tensorflow_probability.python.bijectors import reciprocal
  from tensorflow_probability.python.internal import test_util
label_desc: Use image node_id 3 for calling the ReciprocalTest obj's underlying member method code with example usage: obj.testBijectiveAndFinite(lower, upper) without return types