pytorch
cafd0f33 - [jit][edge] Fix array index checking in mobile interpreter. (#73241)

Commit
3 years ago
[jit][edge] Fix array index checking in mobile interpreter. (#73241) Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/73241 Stop using non-portable out-of-range indexing in mobile interpreter, also change code types indexing to use vector.at() to catch out-of-range bugs earlier. Test Plan: buck test mode/dbg mode/no-gpu -c fbcode.platform=platform010 //caffe2/test/cpp/jit:jit -- BackendTest.TestCompiler Reviewed By: dhruvbird, r-barnes Differential Revision: D34370237 fbshipit-source-id: 1827f75ed00ecc10bbcece48329b0ac87189b079 (cherry picked from commit ab943ef414c8d109bd766f672def63be28af2571)
Author
Committer
Parents
Loading