Remove extraneous TensorId checks in as_strided (#21045)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/21045
ghimport-source-id: e95fbf50bccf6ebc613bb13fb16915254912f22d
Differential Revision: D15528971
Pulled By: li-roy
fbshipit-source-id: c721cc6280dff6e14c5533681d0b35aaa8f98f00