Remove improper asserts. (#85206)
strides() will raise an error if it is called on a tensor with symbolic
shapes, so we cannot actually assert using it.
Signed-off-by: Edward Z. Yang <ezyang@fb.com>
Pull Request resolved: https://github.com/pytorch/pytorch/pull/85206
Approved by: https://github.com/Chillee