code: def testNoScaleAndInitProvided(self):
      with self.assertRaisesRegex(
          ValueError, "Cannot set `scale_init` if `create_scale=False`"
      ):
          batch_norm.BaseBatchNorm(
              moving_mean=TestMetric(),
              moving_variance=TestMetric(),
              create_scale=False,
              create_offset=True,
              scale_init=initializers.Ones(),
          )
  
imports: import itertools
  from absl.testing import parameterized
  import numpy
  from sonnet.src import batch_norm
  from sonnet.src import initializers
  from sonnet.src import test_utils
  import tensorflow
label_desc: Use image node_id 14 for calling the BaseBatchNormTest obj's underlying member method code with example usage: obj.testNoScaleAndInitProvided() without return types