code: def testBijectiveAndFinite16bit(self):
      x = np.arange(100).astype(np.int32)
      y = np.logspace(-5, 4, 100).astype(np.float16)
      bijector = categorical_to_discrete.CategoricalToDiscrete(
          map_values=y
      )
      bijector_test_util.assert_bijective_and_finite(
          bijector, x, y, eval_func=self.evaluate, event_ndims=0
      )
  
imports: import numpy
  import tensorflow.compat.v2
  from tensorflow_probability.python.bijectors import bijector_test_util
  from tensorflow_probability.python.bijectors import categorical_to_discrete
  from tensorflow_probability.python.internal import test_util
  from tensorflow_probability.python.math import gradient
label_desc: Use image node_id 10 for calling the CategoricalToDiscreteTest obj's underlying member method code with example usage: obj.testBijectiveAndFinite16bit() without return types