    def add_args(cls, parser):
        """Add arguments to the parser for this LR scheduler."""
        dc = getattr(cls, "__dataclass", None)
        if dc is not None:
            gen_parser_from_dataclass(parser, dc())
Add arguments to the parser for this LR scheduler.
fairseq/optim/lr_scheduler/fairseq_lr_scheduler.py