-
Notifications
You must be signed in to change notification settings - Fork 538
Commit 9d00f96
authored
[MRG] ot.lp reorganizing (#714)
* ot.lp reorganise to avoid def in __init__
* pr number + enabled pre-commit
* added barycenter.py imports
* fixed wrong import in ot.gmm
* ruff fix attempt
* removed ot bar contribs -> only o.lp reorganisation in this PR
* add check_number_threads to ot/lp/__init__.py __all__
* update releases
* made barycenter_solvers and network_simplex hidden + deprecated ot.lp.cvx
* fix ref to lp.cvx in test
* lp.cvx now imports barycenter and gives a warnings.warning
* cvx import barycenter1 parent 200322b commit 9d00f96
File tree
13 files changed
+1074
-1030
lines changed- ot
- gromov
- lp
- test
13 files changed
+1074
-1030
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
51 | - | ||
51 | + | ||
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
54 | - | ||
54 | + | ||
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | + | ||
9 | 10 | | |
10 | 11 | | |
11 | 12 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | - | ||
15 | + | ||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
185 | 185 | | |
186 | 186 | | |
187 | 187 | | |
188 | - | ||
188 | + | ||
189 | 189 | | |
190 | 190 | | |
191 | 191 | | |
| |||
654 | 654 | | |
655 | 655 | | |
656 | 656 | | |
657 | - | ||
657 | + | ||
658 | 658 | | |
659 | 659 | | |
660 | 660 | | |
| |||
1213 | 1213 | | |
1214 | 1214 | | |
1215 | 1215 | | |
1216 | - | ||
1216 | + | ||
1217 | 1217 | | |
1218 | 1218 | | |
1219 | 1219 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
375 | 375 | | |
376 | 376 | | |
377 | 377 | | |
378 | - | ||
378 | + | ||
379 | 379 | | |
380 | 380 | | |
381 | 381 | | |
| |||
447 | 447 | | |
448 | 448 | | |
449 | 449 | | |
450 | - | ||
450 | + | ||
451 | 451 | | |
452 | 452 | | |
453 | 453 | | |
| |||
953 | 953 | | |
954 | 954 | | |
955 | 955 | | |
956 | - | ||
956 | + | ||
957 | 957 | | |
958 | 958 | | |
959 | 959 | | |
| |||
0 commit comments