code: def _testParamShapes(self, sample_shape, expected):
      param_shapes = (
          doublesided_maxwell.DoublesidedMaxwell.param_shapes(
              sample_shape
          )
      )
      mu_shape, sigma_shape = param_shapes["loc"], param_shapes["scale"]
  
      self.assertAllEqual(expected, self.evaluate(mu_shape))
      self.assertAllEqual(expected, self.evaluate(sigma_shape))
      mu = tf.zeros(mu_shape)
      sigma = tf.ones(sigma_shape)
      dsmaxwell = doublesided_maxwell.DoublesidedMaxwell(
          mu, sigma, validate_args=True
      )
      self.assertAllEqual(
          expected,
          self.evaluate(
              tf.shape(dsmaxwell.sample(seed=test_util.test_seed()))
          ),
      )
  
file_path: probability/tensorflow_probability/python/distributions/doublesided_maxwell_test.py
imports: from absl.testing import parameterized
  import numpy
  from scipy import stats
  import tensorflow.compat.v2
  from tensorflow_probability.python.distributions import doublesided_maxwell
  from tensorflow_probability.python.internal import test_util
label_desc: Use image node_id 2 for calling the DoublesidedMaxwellTest obj's underlying member method code with example usage: obj._testParamShapes(sample_shape, expected) without return types