code: def testEventSizeOfOne(self):
      d = roc.ExpRelaxedOneHotCategorical(
          0.1337,
          logits=tf1.placeholder_with_default([0.0], shape=None),
          validate_args=True,
      )
      self.assertAllEqual(
          np.zeros((5, 3, 1), dtype=np.int32),
          self.evaluate(d.sample([5, 3], seed=test_util.test_seed())),
      )
      self.assertAllClose(
          np.ones(5), self.evaluate(d.prob(np.zeros((5, 1))))
      )
  
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 11 for calling the RelaxedOneHotCategoricalTest obj's underlying member method code with example usage: obj.testEventSizeOfOne() without return types