Create parser.cpp (#15238)
authorZachary DeVito <zdevito@fb.com>
Sat, 15 Dec 2018 03:29:19 +0000 (19:29 -0800)
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>
Sat, 15 Dec 2018 03:31:36 +0000 (19:31 -0800)
commitf1185686623f04a1e332745be04280bbba115f4b
tree2ec67994b3b3b8b2a84ff21aa5911ad8368fc2d0
parente1808be37d7dd011e8c7baa1c881944aa1dd7163
Create parser.cpp (#15238)

Summary:
Moves implementation into .cpp file. Parser was getting included in several compilation units.
Pull Request resolved: https://github.com/pytorch/pytorch/pull/15238

Differential Revision: D13474635

Pulled By: zdevito

fbshipit-source-id: 7dc824eea8f506d6c8ae1aa67aeec0c34d5285fc
test/test_jit.py
tools/build_variables.py
torch/CMakeLists.txt
torch/csrc/jit/script/compiler.cpp
torch/csrc/jit/script/init.cpp
torch/csrc/jit/script/parser.cpp [new file with mode: 0644]
torch/csrc/jit/script/parser.h