Skip to content

Typing for loss types#375

Open
ProfessorNova wants to merge 8 commits intosQUlearn:developfrom
ProfessorNova:typing/overload-loss-types
Open

Typing for loss types#375
ProfessorNova wants to merge 8 commits intosQUlearn:developfrom
ProfessorNova:typing/overload-loss-types

Conversation

@ProfessorNova
Copy link
Collaborator

This pull request refactors the loss function interface for QNNs to use explicit, type-annotated arguments instead of generic **kwargs. The update also adapts the training utilities and tests to match the new interface, removing some error cases that are no longer relevant.

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.

2 participants