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: https://github.com/pytorch/pytorch/pull/92914
Approved by: https://github.com/albanD, https://github.com/bdhirsh