We use run_opts primarily in two places: one is in Brain and one in Pretrained. Although perhaps not all options will apply in both cases, it would be a lot cleaner to define this once as a @dataclass. In addition the documentation will be much cleaner and easier to understand.
We use
run_optsprimarily in two places: one is inBrainand one inPretrained. Although perhaps not all options will apply in both cases, it would be a lot cleaner to define this once as a@dataclass. In addition the documentation will be much cleaner and easier to understand.