code: def testAssertionsProbsAfterMutation(self):
      probs = tf.Variable([0.25, 0.25, 0.5])
      d = roc.ExpRelaxedOneHotCategorical(
          0.1337, probs=probs, validate_args=True
      )
      with self.assertRaisesOpError(
          "Condition x >= 0 did not hold element-wise"
      ):
          self.evaluate([v.initializer for v in d.variables])
          with tf.control_dependencies(
              [probs.assign([-0.25, 0.75, 0.5])]
          ):
              self.evaluate(d.logits_parameter())
  
imports: from absl.testing import parameterized
  import numpy
  from scipy.special import gamma
  import tensorflow.compat.v1
  import tensorflow.compat.v2
  from tensorflow_probability.python.bijectors import identity
  from tensorflow_probability.python.distributions import relaxed_onehot_categorical
  from tensorflow_probability.python.internal import tensorshape_util
  from tensorflow_probability.python.internal import test_util
  from tensorflow_probability.python.util import deferred_tensor
label_desc: Use image node_id 4 for calling the ExpRelaxedOneHotCategoricalFromVariableTest obj's underlying member method code with example usage: obj.testAssertionsProbsAfterMutation() without return types