docstr: If validate_args, raises error when temperature is 0.
docstr_tok: ["If","validate_args",",","raises","error","when","temperature","is","0","."]
code: def testZeroTemperature(self):
      """If validate_args, raises error when temperature is 0."""
      temperature = tf.constant(0.0)
      p = tf.constant([0.1, 0.4])
      with self.assertRaisesOpError("`temperature` must be positive."):
          dist = relaxed_bernoulli.RelaxedBernoulli(
              temperature, probs=p, validate_args=True
          )
          sample = dist.sample(seed=test_util.test_seed())
          self.evaluate(sample)
  
imports: import numpy
  import scipy.special
  import tensorflow.compat.v1
  import tensorflow.compat.v2
  from tensorflow_probability.python.distributions import relaxed_bernoulli
  from tensorflow_probability.python.internal import tensorshape_util
  from tensorflow_probability.python.internal import test_util
label_desc: Use image node_id 5 for calling the RelaxedBernoulliTest obj's underlying member method code with example usage: obj.testZeroTemperature() without return types