class_docstr: Tests correctness of the Shifted Gompertz bijector.
class_docstr_tok: ["Tests","correctness","of","the","Shifted","Gompertz","bijector","."]
code: def testVariableConcentration(self):
      x = tf.Variable(1.0)
      b = shifted_gompertz_cdf.ShiftedGompertzCDF(
          concentration=x, rate=1.0, validate_args=True
      )
      self.evaluate(x.initializer)
      self.assertIs(x, b.concentration)
      self.assertEqual((), self.evaluate(b.forward(1.0)).shape)
      with self.assertRaisesOpError(
          "Argument `concentration` must be positive."
      ):
          with tf.control_dependencies([x.assign(-1.0)]):
              self.evaluate(b.forward(1.0))
  
file_path: probability/tensorflow_probability/python/bijectors/shifted_gompertz_cdf_test.py
imports: import numpy
  import tensorflow.compat.v2
  from tensorflow_probability.python.bijectors import bijector_test_util
  from tensorflow_probability.python.bijectors import shifted_gompertz_cdf
  from tensorflow_probability.python.internal import test_util
label_desc: Use image node_id 3 for calling the ShiftedGompertzCDF obj's underlying member method code with example usage: obj.testVariableConcentration() without return types