class_docstr: Bijector which computes `Y = g(X) = values[X]`.
  
  Example Usage:
  
  ```python
  bijector = CategoricalToDiscrete(map_values=[0.01, 0.1, 1., 10.])
  bijector.forward([1, 3, 2, 1, 0]) = [1., 10., 1., 0.1, 0.01]
  bijector.inverse([1., 10., 1., 0.1, 0.01]) = [1, 3, 2, 1, 0]
  ```
class_docstr_tok: ["Bijector","which","computes","`","Y","=","g","(","X",")","=","values","[","X","]","`",".","Example","Usage",":","``","`","python","bijector","=","CategoricalToDiscrete","(","map_values=","[","0.01",",","0.1",",","1.",",","10",".","]",")","bijector.forward","(","[","1",",","3",",","2",",","1",",","0","]",")","=","[","1.",",","10.",",","1.",",","0.1",",","0.01","]","bijector.inverse","(","[","1.",",","10.",",","1.",",","0.1",",","0.01","]",")","=","[","1",",","3",",","2",",","1",",","0","]","``","`"]
code: def map_values(self):
      return self._map_values
  
file_path: probability/tensorflow_probability/python/bijectors/categorical_to_discrete.py
imports: import tensorflow.compat.v2
  from tensorflow_probability.python.bijectors import bijector
  from tensorflow_probability.python.internal import assert_util
  from tensorflow_probability.python.internal import dtype_util
  from tensorflow_probability.python.internal import parameter_properties
  from tensorflow_probability.python.internal import tensor_util
  from tensorflow_probability.python.internal import tensorshape_util
label_desc: Use image node_id 6 for calling the CategoricalToDiscrete obj's underlying member method code with example usage: obj.map_values() and returns: self