[Static Runtime] Remove unnecessary fb::equally_split nodes (#64022)
authorDon Jang <djang@fb.com>
Thu, 26 Aug 2021 23:28:35 +0000 (16:28 -0700)
committerFacebook GitHub Bot <facebook-github-bot@users.noreply.github.com>
Thu, 26 Aug 2021 23:29:43 +0000 (16:29 -0700)
commit0bd8d0951dcb4063c0f7552a7404bd7f0e7b6e6f
treea15b558507b44e5a39d84383f57ac8151e14ae4d
parentdfa35ab3e710848353aa1d313c5d9127ed2ef745
[Static Runtime] Remove unnecessary fb::equally_split nodes (#64022)

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

Test Plan: - Added unittest `StaticRuntime.RemoveEquallySplitListUnpack`.

Reviewed By: hlu1

Differential Revision: D30472189

fbshipit-source-id: 36040b0146f4be9d0d0fda293f7205f43aad0b87
torch/csrc/jit/runtime/static/passes.cpp