Implement IRParser. (#16987)
authorMikhail Zolotukhin <mvz@fb.com>
Sun, 17 Feb 2019 04:18:54 +0000 (20:18 -0800)
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>
Sun, 17 Feb 2019 04:23:50 +0000 (20:23 -0800)
commit3a01a45f06db767cc36669de70af69b09dbafb0f
tree417692a736be69e8521ccbce41967bfe42d863ab
parentbf16a6bc3c515c6713f25a4aa08c4d3f67eed780
Implement IRParser. (#16987)

Summary:
It might need some cleaning up and might be missing some features, but it should be already working for most cases.

This PR is based on top of PR16986 (so please review only the last commit here).
Pull Request resolved: https://github.com/pytorch/pytorch/pull/16987

Differential Revision: D14074577

Pulled By: ZolotukhinM

fbshipit-source-id: 712b598f423265655f574bb9903e2066628eaad3
test/cpp/jit/gtest.cpp
test/cpp/jit/no-gtest.cpp
test/cpp/jit/test_irparser.h [new file with mode: 0644]
tools/build_variables.py
torch/CMakeLists.txt
torch/csrc/jit/irparser.cpp [new file with mode: 0644]
torch/csrc/jit/irparser.h [new file with mode: 0644]