Commit c29155b
improve error msg of invalid input types (#1083)
Summary:
Discussed in #1077 (comment) , improving the error message of invalid `inputs` to tell the two types we allow: `Tensor` and `tuple[Tensor]`
Pull Request resolved: #1083
Reviewed By: vivekmig
Differential Revision: D41795064
Pulled By: aobo-y
fbshipit-source-id: 16370e747d08ec33070fc039d9ee2b6dde033cc81 parent 4de6602 commit c29155b
1 file changed
+4
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
175 | 175 | | |
176 | 176 | | |
177 | 177 | | |
178 | | - | |
179 | | - | |
180 | | - | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
181 | 182 | | |
182 | 183 | | |
183 | 184 | | |
| |||
0 commit comments