class_docstr: Common tests for noisy location-scale family of distributions.
class_docstr_tok: ["Common","tests","for","noisy","location-scale","family","of","distributions","."]
code: def test_sampling_works(self):
      dist = self.dist_cls(loc=0, scale=[3, 5])
      sample = dist.sample((5, 4))
      self.assertEqual(sample.shape, (5, 4, 2))
  
imports: from absl.testing import parameterized
  import numpy
  import tensorflow
  import tensorflow_probability
  from tensorflow_compression.python.distributions import deep_factorized
  from tensorflow_compression.python.distributions import round_adapters
label_desc: Use image node_id 5 for calling the LocationScaleTest obj's underlying member method code with example usage: obj.test_sampling_works() without return types