[Static Runtime] Implement prim::TupleUnpack (#63243)
authorMike Iovine <mikeiovine@fb.com>
Mon, 16 Aug 2021 21:50:27 +0000 (14:50 -0700)
committerFacebook GitHub Bot <facebook-github-bot@users.noreply.github.com>
Mon, 16 Aug 2021 21:56:30 +0000 (14:56 -0700)
commit078b8004a62a51f75e1fbd8d08eea359af6bb1d7
tree805221af8adf155c5fc03ae28f2bf488b51df6a0
parenta12b371f7c0b0180b4661d25c1a2981863d693d1
[Static Runtime] Implement prim::TupleUnpack (#63243)

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

Add `prim::TupleUnpack` native op to static runtime.

Test Plan: Unit test: `buck test caffe2/benchmarks/static_runtime:static_runtime_cpptest`

Reviewed By: hlu1

Differential Revision: D30306955

fbshipit-source-id: 21923d6cbd5545c144ac051b3d48b37ec6e610cf
benchmarks/static_runtime/test_scripts.h
benchmarks/static_runtime/test_static_runtime.cc
torch/csrc/jit/runtime/static/native_ops.cpp