Revert "Add mutation checks for tensor inputs"
This reverts commit 83c0a2bc38c9f648880e787b64f017501db8faf0.
Reverted https://github.com/pytorch/pytorch/pull/79078 on behalf of https://github.com/davidberard98 due to broke bazel build-and-test, see [https://github.com/pytorch/pytorch/runs/6836001002?check_suite_focus=true](https://github.com/pytorch/pytorch/runs/6836001002?check_suite_focus=true%22)