def METHOD_NAME(cls):
    rules = []
    rules.append(checker.DefaultPrimaryRule())
    rules.append(checker.DefaultSyncNumClassesRule())
    rules.append(checker.DefaultSyncImgChannelsRule())
    # Losses
    rules.append(checker.DefaultLossRule('loss'))
    rules.append(checker.DefaultSyncIgnoreIndexRule('loss'))
    # Distillation losses
    rules.append(checker.DefaultLossRule('distill_loss'))
    rules.append(checker.DefaultSyncIgnoreIndexRule('distill_loss'))
    return checker.ConfigChecker(rules, allow_update=True)