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_can_instantiate_batched(self):
      dist = self.dist_cls(loc=[3.0, 2.0], scale=5.0)
      self.assertEqual(dist.batch_shape, (2,))
      self.assertEqual(dist.event_shape, ())
  
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 2 for calling the LocationScaleTest obj's underlying member method code with example usage: obj.test_can_instantiate_batched() without return types