Commit b9f4f69
The OVERHAUL (#78)
* Complete refactor of the Regularized structures:
- Only one struct named `Regularized`, every regularized layer is a particular case of it
- Specific constructors for `SparseArgmax`, `SoftArgmax`, and `RegularizedFrankWolfe`
- Now we can also use `Regularized` with a custom optimizer (we may need to test this feature)
* The OVERHAUL
* Fix tutorial in tests, more docs
* Bump version
* Fix Léo's remarks
* Fix imports
* typo
* Don't export compress_dist
---------
Co-authored-by: BatyLeo <leo.baty67@gmail.com>1 parent 7dcc51d commit b9f4f69
File tree
49 files changed
+1302
-1286
lines changed- docs
- src
- examples
- ext
- src
- fenchel_young
- imitation_loss
- imitation
- perturbed
- plus_identity
- regularized
- simple
- ssvm
- utils
- test
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
49 files changed
+1302
-1286
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| 6 | + | |
| 7 | + | |
6 | 8 | | |
7 | | - | |
| 9 | + | |
8 | 10 | | |
9 | 11 | | |
10 | 12 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
6 | | - | |
| 5 | + | |
| 6 | + | |
7 | 7 | | |
8 | 8 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
12 | 11 | | |
13 | 12 | | |
14 | 13 | | |
| |||
22 | 21 | | |
23 | 22 | | |
24 | 23 | | |
25 | | - | |
26 | 24 | | |
27 | 25 | | |
28 | 26 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
| 25 | + | |
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
0 commit comments