chaiNNer-org / spandrel

Spandrel gives your project support for various PyTorch architectures meant for AI Super-Resolution, restoration, and inpainting. Based on the model support implemented in chaiNNer.
MIT License
138 stars 12 forks source link

Make `architecture` fields `Final` #254

Closed RunDevelopment closed 4 months ago

RunDevelopment commented 4 months ago

This makes the protected _name and _id fields Final to prevent derived classes from re-assigning those fields.