Commit 6f3d599
Preserve order in ChainedOutcomeTransform (#440)
Summary:
Pull Request resolved: #440
Using OrderedDict, perserves the order. Otherwise, ModuleDict orders the transforms alphanumerically by key.
Reviewed By: Balandat
Differential Revision: D21477968
fbshipit-source-id: aa85d450ccb9b8baa651f2a82df526e91e4daa691 parent 4bc0352 commit 6f3d599
File tree
2 files changed
+6
-5
lines changed- botorch/models/transforms
- test/models/transforms
2 files changed
+6
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| 10 | + | |
10 | 11 | | |
11 | 12 | | |
12 | 13 | | |
| |||
87 | 88 | | |
88 | 89 | | |
89 | 90 | | |
90 | | - | |
| 91 | + | |
91 | 92 | | |
92 | 93 | | |
93 | 94 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
328 | 328 | | |
329 | 329 | | |
330 | 330 | | |
331 | | - | |
| 331 | + | |
332 | 332 | | |
333 | | - | |
334 | | - | |
335 | | - | |
| 333 | + | |
| 334 | + | |
| 335 | + | |
336 | 336 | | |
337 | 337 | | |
338 | 338 | | |
| |||
0 commit comments