def add_args(cls, parser):
        """Add optimizer-specific arguments to the parser."""
        dc = getattr(cls, "__dataclass", None)
        if dc is not None:
            gen_parser_from_dataclass(parser, dc())
Add optimizer-specific arguments to the parser.
structured_prompting/fairseq-version/fairseq/fairseq/optim/fairseq_optimizer.py