class_docstr: Compute `g(X) = X ** power`; where X is a non-negative real number.
  
  When `power` is an odd integer, this bijector has domain the whole real line,
  and otherwise is constrained to non-negative numbers.
  
  Note: Powers that are reciprocal of odd integers like `1. / 3` are not
  supported because of numerical precision issues that make this property
  difficult to test. In order to simulate this behavior, we recommend using
  the `Invert` bijector instead (i.e. instead of `tfb.Power(power=1./3)`
  use `tfb.Invert(tfb.Power(power=3.))`).
class_docstr_tok: ["Compute","`","g","(","X",")","=","X","*","*","power","`",";","where","X","is","a","non-negative","real","number",".","When","`","power","`","is","an","odd","integer",",","this","bijector","has","domain","the","whole","real","line",",","and","otherwise","is","constrained","to","non-negative","numbers",".","Note",":","Powers","that","are","reciprocal","of","odd","integers","like","`","1",".","\/","3","`","are","not","supported","because","of","numerical","precision","issues","that","make","this","property","difficult","to","test",".","In","order","to","simulate","this","behavior",",","we","recommend","using","the","`","Invert","`","bijector","instead","(","i.e",".","instead","of","`","tfb.Power","(","power=1.\/3",")","`","use","`","tfb.Invert","(","tfb.Power","(","power=3",".",")",")","`",")","."]
code: def _forward(self, x):
      power = tf.cast(self.power, x.dtype)
      with tf.control_dependencies(self._assertions(x, power=power)):
          return tf.math.pow(x, power)
  
file_path: probability/tensorflow_probability/python/bijectors/power.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 parameter_properties
  from tensorflow_probability.python.internal import prefer_static
  from tensorflow_probability.python.internal import tensor_util
label_desc: Use image node_id 5 for calling the Power obj's underlying member method code with example usage: obj._forward(x) and returns: tf