[PyTorch Mobile] Skip signature check when converting to typed operator handle (#49469)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/49469
In Functions.cpp, there is a call to `typed<...>` that converts to a `TypedOperatorHandle`. This isn't needed at runtime since it's already been exercised during development, and for mobile, there is no possibility of operators or kernels being registered by users (from Python code the way it is possible on server side).
ghstack-source-id: 118714246
Test Plan:
Sandcastle
### App testing results:
FBiOS fails with an error similar to this one: https://fb.workplace.com/groups/2102613013103952/permalink/3815085708523332/
Tested 2 AR effects (gren screen and colors shift) on IGiOS.
### BSB results:
D25581159-V1 (https://www.internalfb.com/intern/diff/D25581159/?dest_number=118689912)
**fbios: Succeeded**
Change in Download Size for arm64 + 3x assets variation: -7.2 KiB
Change in Uncompressed Size for arm64 + 3x assets variation: -27.1 KiB
Mbex Comparison: https://our.intern.facebook.com/intern/mbex/bsb:135971531636706@base/bsb:135971531636706@diff/
D25581159-V1 (https://www.internalfb.com/intern/diff/D25581159/?dest_number=118689912)
**fbios-pika: Succeeded**
Change in Download Size for arm64 + 3x assets variation: -11.0 KiB
Change in Uncompressed Size for arm64 + 3x assets variation: -7.4 KiB
Mbex Comparison: https://our.intern.facebook.com/intern/mbex/bsb:430379774665351@base/bsb:430379774665351@diff/
3:02 AM
D25581159-V1 (https://www.internalfb.com/intern/diff/D25581159/?dest_number=118689912)
**igios: Succeeded**
Change in Download Size for arm64 + 3x assets variation: -5.3 KiB
Change in Uncompressed Size for arm64 + 3x assets variation: -17.3 KiB
Mbex Comparison: https://our.intern.facebook.com/intern/mbex/bsb:685843828784135@base/bsb:685843828784135@diff/
Reviewed By: iseeyuan
Differential Revision: D25581159
fbshipit-source-id: 4a62982829ec42c2d3f58f47f876f2543bc0099b