Skip to content

Add simple model registration/listing for optimisation schemes#72

Merged
Neclow merged 2 commits intosbhattlab:mainfrom
Neclow:opt_api
Jun 12, 2025
Merged

Add simple model registration/listing for optimisation schemes#72
Neclow merged 2 commits intosbhattlab:mainfrom
Neclow:opt_api

Conversation

@Neclow
Copy link
Collaborator

@Neclow Neclow commented Jun 12, 2025

Inspired by torchvision's models api (https://github.com/pytorch/vision/blob/main/torchvision/models/_api.py). Adds a simple model registration decorator so that all available optimisation methods can be listed.

Update the demo notebook with list_methods.

@Neclow Neclow merged commit 30d6ec9 into sbhattlab:main Jun 12, 2025
7 checks passed
@Neclow Neclow deleted the opt_api branch June 12, 2025 10:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant