You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: RELEASES.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -18,6 +18,7 @@
18
18
- Fix a sign error regarding the gradient of `ot.gromov._gw.fused_gromov_wasserstein2` and `ot.gromov._gw.gromov_wasserstein2` for the kl loss (PR #610)
19
19
- Fix same sign error for sr(F)GW conditional gradient solvers (PR #611)
20
20
- Split `test/test_gromov.py` into `test/gromov/` (PR #619)
21
+
- Fix (F)GW barycenter functions to support computing barycenter on 1 input + deprecate structures as lists (PR #628)
raiseValueError("Deprecated feature in POT 0.9.4: structures Cs[i] and/or features Ys[i] are lists and should be arrays from a supported backend (e.g numpy).")
1630
+
1625
1631
arr= [*Cs, *Ys]
1626
1632
ifpsisnotNone:
1627
-
arr+=list_to_array(*ps)
1633
+
ifisinstance(ps[0], list):
1634
+
raiseValueError("Deprecated feature in POT 0.9.4: weights ps[i] are lists and should be arrays from a supported backend (e.g numpy).")
raiseValueError("Deprecated feature in POT 0.9.4: structures Cs[i] and/or features Ys[i] are lists and should be arrays from a supported backend (e.g numpy).")
1025
+
1019
1026
arr= [*Cs, *Ys]
1020
1027
ifpsisnotNone:
1021
-
arr+=list_to_array(*ps)
1028
+
ifisinstance(ps[0], list):
1029
+
raiseValueError("Deprecated feature in POT 0.9.4: weights ps[i] are lists and should be arrays from a supported backend (e.g numpy).")
0 commit comments