Compiler uses first-class modules** (#19043)
authorZachary DeVito <zdevito@fb.com>
Thu, 11 Apr 2019 06:57:36 +0000 (23:57 -0700)
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>
Thu, 11 Apr 2019 07:00:48 +0000 (00:00 -0700)
commit5e1f0b2a076696e9e4bd6f0d1495d58c7ffecde1
treecbaa4ad7d3c04044be81d4caab2f66d791fbfa9b
parentfce0c5e17d5d486b8a9b62e27740d58c6c63f479
Compiler uses first-class modules** (#19043)

Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/19043
ghimport-source-id: 0c9e80d5f35654af6d472abd5643bff3e9eb9ddf

Differential Revision: D14842057

Pulled By: zdevito

fbshipit-source-id: ca6e7b5a43805240f40b84d30e54495061067dc0
32 files changed:
aten/src/ATen/core/function_schema.h
aten/src/ATen/core/jit_type.h
aten/src/ATen/core/type.cpp
test/cpp/jit/test.cpp
test/cpp/jit/test_misc.h
test/expect/TestScript.test_onnx_export_script_inline_params.expect
test/expect/TestScript.test_onnx_export_speculate-f2.expect
test/test_jit.py
tools/build_variables.py
torch/CMakeLists.txt
torch/csrc/api/include/torch/jit.h
torch/csrc/api/src/jit.cpp
torch/csrc/jit/import_source.cpp
torch/csrc/jit/ir.h
torch/csrc/jit/passes/graph_fuser.cpp
torch/csrc/jit/passes/python_print.cpp
torch/csrc/jit/python_ir.cpp
torch/csrc/jit/script/builtin_functions.cpp
torch/csrc/jit/script/builtin_functions.h
torch/csrc/jit/script/class_type.cpp
torch/csrc/jit/script/compilation_unit.h [new file with mode: 0644]
torch/csrc/jit/script/compiler.cpp
torch/csrc/jit/script/compiler.h
torch/csrc/jit/script/init.cpp
torch/csrc/jit/script/module.cpp
torch/csrc/jit/script/module.h
torch/csrc/jit/script/schema_matching.cpp
torch/csrc/jit/script/slot.h
torch/csrc/jit/script/sugared_value.cpp
torch/csrc/jit/script/sugared_value.h
torch/csrc/jit/symbolic_script.cpp
torch/jit/__init__.py