Replace getters with properties #1441
Labels
enhancement
New feature or request
help wanted
Extra attention is needed
wontfix
This will not be worked on
🚀 Feature Request
IRunner
containsget_*
methods, andRunner
implements these, but also exposes*
. For instance,It might be clearer to have a single Python-esque property, e.g.,
runner.model
.Motivation
Clarity.
Proposal
It might be clearer to have a single Python-esque property, e.g.,
runner.model
.Also, some way to set e.g.
.model
,.loaders
,.engine
, etc without runningrunner.train()
, which initializes private variants of the above (e.g.._model
), and then callsrunner.run()
, which runson_experiment_start
, which then finally initializes.model
.Alternatives
N/A
Additional context
N/A
Checklist
FAQ
Please review the FAQ before submitting an issue:
The text was updated successfully, but these errors were encountered: