Skip to content

Refactor run_opts into a @dataclass #2846

@pplantinga

Description

@pplantinga

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.

Metadata

Metadata

Assignees

Labels

refactorEdit code without changing functionality

Type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions