Commit 583e8cb
Check shape of state dict when comparing input transforms (#3051)
Summary:
## Motivation
See #3050
### Have you read the [Contributing Guidelines on pull requests](https://github.com/meta-pytorch/botorch/blob/main/CONTRIBUTING.md#pull-requests)?
Y
Pull Request resolved: #3051
Test Plan: I have added an additional test case to `test/models/transforms/test_input.py`. Without the changes in this PR, the new test case would fail with a runtime error, as described in #3050. The test now correctly passes.
Reviewed By: saitcakmak
Differential Revision: D85149051
Pulled By: Balandat
fbshipit-source-id: 4f6a972601994154d19edd44fef43ddfa092170f1 parent b0d492d commit 583e8cb
File tree
2 files changed
+10
-1
lines changed- botorch/models/transforms
- test/models/transforms
2 files changed
+10
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
45 | 52 | | |
46 | 53 | | |
47 | 54 | | |
| |||
124 | 131 | | |
125 | 132 | | |
126 | 133 | | |
127 | | - | |
| 134 | + | |
128 | 135 | | |
129 | 136 | | |
130 | 137 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
400 | 400 | | |
401 | 401 | | |
402 | 402 | | |
| 403 | + | |
403 | 404 | | |
| 405 | + | |
404 | 406 | | |
405 | 407 | | |
406 | 408 | | |
| |||
0 commit comments