What
Currently models/vlm.py uses redundant, copy-pasted blocks that can be generalized. Doing so not only adheres better to good design principles, but also makes a planned optimization much simpler to implement (see #126)
Scope
This tourches kempnerforge/model/vlm.py and tests/unit/test_vlm.py only.
Backward compatibility
Completely behavior-preserving and backwards compatible.
What
Currently
models/vlm.pyuses redundant, copy-pasted blocks that can be generalized. Doing so not only adheres better to good design principles, but also makes a planned optimization much simpler to implement (see #126)Scope
This tourches
kempnerforge/model/vlm.pyandtests/unit/test_vlm.pyonly.Backward compatibility
Completely behavior-preserving and backwards compatible.