code: def testCreateScaleAndScaleProvided(self):
      layer = group_norm.GroupNorm(
          groups=5, create_scale=True, create_offset=False
      )
  
      with self.assertRaisesRegex(
          ValueError,
          "Cannot pass `scale` at call time if `create_scale=True`.",
      ):
          layer(tf.ones([2, 3, 5]), scale=tf.ones([4]))
  
imports: from absl.testing import parameterized
  import numpy
  from sonnet.src import group_norm
  from sonnet.src import initializers
  from sonnet.src import test_utils
  import tensorflow
label_desc: Use image node_id 14 for calling the GroupNormTest obj's underlying member method code with example usage: obj.testCreateScaleAndScaleProvided() without return types