def METHOD_NAME(self):
    self.run_layer_test(
        layers.GroupNormalization,
        init_kwargs={
            "gamma_regularizer": regularizers.L2(0.01),
            "beta_regularizer": regularizers.L2(0.01),
        },
        input_shape=(3, 4, 32),
        expected_output_shape=(3, 4, 32),
        expected_num_trainable_weights=2,
        expected_num_non_trainable_weights=0,
        expected_num_seed_generators=0,
        expected_num_losses=2,
        supports_masking=True,
    )
    self.run_layer_test(
        layers.GroupNormalization,
        init_kwargs={
            "groups": 4,
            "gamma_constraint": constraints.UnitNorm(),
            "beta_constraint": constraints.UnitNorm(),
        },
        input_shape=(3, 4, 4),
        expected_output_shape=(3, 4, 4),
        expected_num_trainable_weights=2,
        expected_num_non_trainable_weights=0,
        expected_num_seed_generators=0,
        expected_num_losses=0,
        supports_masking=True,
    )