src/transformers/models/hubert/modeling_tf_hubert.py/TFHubertGroupNorm/_set_number_of_groups_for_instance_norm
class TFHubertGroupNorm:    def _set_number_of_groups_for_instance_norm(self, input_shape):
        dim = input_shape[self.axis]

        if self.groups == -1:
            self.groups = dim