-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Refactor][Feature] Train functions refactoring (#593)
- Loading branch information
Showing
40 changed files
with
4,465 additions
and
1,597 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,22 @@ | ||
## ML Tools | ||
|
||
This module implements gradient-free and gradient-based training loops for torch Modules and QuantumModel. It also implements the QNN class. | ||
This module implements a `Trainer` class for torch `Modules` and `QuantumModel`. It also implements the `QNN` class and callbacks that can be used with the trainer module. | ||
|
||
|
||
### ::: qadence.ml_tools.trainer | ||
|
||
### ::: qadence.ml_tools.config | ||
|
||
### ::: qadence.ml_tools.parameters | ||
|
||
### ::: qadence.ml_tools.optimize_step | ||
|
||
### ::: qadence.ml_tools.train_grad | ||
|
||
### ::: qadence.ml_tools.train_no_grad | ||
|
||
### ::: qadence.ml_tools.data | ||
|
||
### ::: qadence.ml_tools.models | ||
|
||
### ::: qadence.ml_tools.callbacks.callback | ||
|
||
### ::: qadence.ml_tools.train_utils.base_trainer | ||
|
||
### ::: qadence.ml_tools.callbacks.writer_registry |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.