[Pytorch Mobile] Combing instructions and debug hanles in single struct (#62418)
authorKimish Patel <kimishpatel@fb.com>
Sat, 14 Aug 2021 04:37:57 +0000 (21:37 -0700)
committerFacebook GitHub Bot <facebook-github-bot@users.noreply.github.com>
Sat, 14 Aug 2021 04:40:17 +0000 (21:40 -0700)
commit77a6436cac21e2569e298ba91d4ccd3118174f13
treedee6cb71aff17ad4387fb4bef38ed9627a06ec71
parent1b04d99f554f0d2ec2653e78ba74ef9bb8b38602
[Pytorch Mobile] Combing instructions and debug hanles in single struct (#62418)

Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/62418

Debug handles have one to one correspondence with instruction, so just
combine them in one.

Test Plan:
CI

Imported from OSS

Reviewed By: raziel

Differential Revision: D29993661

fbshipit-source-id: 125c7163174cf66624dd95f110fdc8208fea8a07
torch/csrc/jit/mobile/function.cpp
torch/csrc/jit/mobile/interpreter.cpp
torch/csrc/jit/mobile/interpreter.h