Commit b399007
Make TensorIterator give better error message for symbolic tensors (#92914)
This is one of the more common reasons to see
"RuntimeError: Cannot call sizes() on tensor with symbolic sizes/strides"
Signed-off-by: Edward Z. Yang <ezyang@meta.com>
Pull Request resolved: #92914
Approved by: https://github.com/albanD, https://github.com/bdhirsh1 parent c0ed0f2 commit b399007
1 file changed
+3
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1221 | 1221 | | |
1222 | 1222 | | |
1223 | 1223 | | |
| 1224 | + | |
| 1225 | + | |
| 1226 | + | |
1224 | 1227 | | |
1225 | 1228 | | |
1226 | 1229 | | |
| |||
0 commit comments