code: def test_non_default_arguments(self):
      x = random_variable.RandomVariable(
          bernoulli.Bernoulli(probs=[[0.25], [0.5]]),
          distribution.Distribution.mean,
          dtype=tf.float32,
          shape=[2, None],
          name="custom",
      )
      x_ = self.evaluate(x + 0.0)
      self.assertAllEqual([[0.25], [0.5]], x_)
      self.assertEqual(tf.float32, x.dtype)
      self.assertAllEqual([2, None], tensorshape_util.as_list(x.shape))
      self.assertEqual("custom", x.name)
  
file_path: probability/tensorflow_probability/python/experimental/nn/util/random_variable_test.py
imports: import tensorflow.compat.v2
  from tensorflow_probability.python.distributions import bernoulli
  from tensorflow_probability.python.distributions import distribution
  from tensorflow_probability.python.distributions import normal
  from tensorflow_probability.python.experimental.nn.util import random_variable
  from tensorflow_probability.python.internal import tensorshape_util
  from tensorflow_probability.python.internal import test_util
label_desc: Use image node_id 2 for calling the RandomVariableTest obj's underlying member method code with example usage: obj.test_non_default_arguments() without return types