SIGN IN SIGN UP

Use non-fatal input checks for view operator (#9264)

### Summary
Fixes #9130

Use non-fatal input checks for view operator, just like
https://github.com/pytorch/executorch/pull/2115/files, since there are
existing cases that an internal app crashed due to a check failure.

Test is updated as well for `RegisterPrimOpsTest`.

### Test plan
Pass updated test:
```
mkdir cmake-out && cd cmake-out && cmake -DEXECUTORCH_BUILD_TESTS=ON .. && cmake --build . --target kernels_prim_ops_test -j9 && ctest -R kernels_prim_ops_test
```

Pass existing CI/CD.

cc @GregoryComer
Z
Zhenyan Zhang (Meta) committed
157bf919907708f0d6572a58caed4703f53f99e4
Parent: 23fe285
Committed by GitHub <noreply@github.com> on 3/15/2025, 5:44:28 AM