Commit 16491be
authored
Fix Optimal Transport for Compiled Contexts (#446)
* remove the is_symbolic_tensor check because this would otherwise skip the whole function for compiled contexts
* skip pyabc test
* fix sinkhorn and log_sinkhorn message formatting for jax by making the warning message worse1 parent de8e1cb commit 16491be
File tree
3 files changed
+11
-26
lines changed- bayesflow/utils/optimal_transport
- tests/test_examples
3 files changed
+11
-26
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
5 | 4 | | |
6 | 5 | | |
7 | 6 | | |
| |||
27 | 26 | | |
28 | 27 | | |
29 | 28 | | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | 29 | | |
34 | 30 | | |
35 | 31 | | |
| |||
57 | 53 | | |
58 | 54 | | |
59 | 55 | | |
60 | | - | |
| 56 | + | |
61 | 57 | | |
62 | 58 | | |
63 | 59 | | |
64 | 60 | | |
65 | | - | |
66 | | - | |
67 | | - | |
68 | | - | |
69 | | - | |
| 61 | + | |
70 | 62 | | |
71 | | - | |
| 63 | + | |
72 | 64 | | |
73 | 65 | | |
74 | | - | |
75 | | - | |
| 66 | + | |
| 67 | + | |
76 | 68 | | |
77 | 69 | | |
78 | 70 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
7 | 6 | | |
8 | 7 | | |
9 | 8 | | |
| |||
76 | 75 | | |
77 | 76 | | |
78 | 77 | | |
79 | | - | |
80 | | - | |
81 | | - | |
82 | 78 | | |
83 | 79 | | |
84 | 80 | | |
| |||
106 | 102 | | |
107 | 103 | | |
108 | 104 | | |
109 | | - | |
| 105 | + | |
110 | 106 | | |
111 | 107 | | |
112 | 108 | | |
113 | 109 | | |
114 | | - | |
115 | | - | |
116 | | - | |
117 | | - | |
118 | | - | |
| 110 | + | |
119 | 111 | | |
120 | | - | |
| 112 | + | |
121 | 113 | | |
122 | 114 | | |
123 | | - | |
124 | | - | |
| 115 | + | |
| 116 | + | |
125 | 117 | | |
126 | 118 | | |
127 | 119 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| 12 | + | |
12 | 13 | | |
13 | 14 | | |
14 | 15 | | |
| |||
0 commit comments