Revert D26077905: Back out "Revert D25850783: Add torch::deploy, an embedded torch-python interpreter"

Test Plan: revert-hammer

Differential Revision:
D26077905 (dc2a44c4fc)

Original commit changeset: fae83bf9822d

fbshipit-source-id: b70185916502ba9ebe16d781cf0659b9f7865c9a
This commit is contained in:
Mike Ruberry
2021-01-27 19:49:03 -08:00
committed by Facebook GitHub Bot
parent dfdb1547b9
commit 12a434abbc
25 changed files with 12 additions and 1024 deletions

View File

@ -692,8 +692,6 @@ extern "C"
#ifdef _WIN32
__declspec(dllexport)
#endif
TORCH_API PyObject* initModule();
// separate decl and defn for msvc error C2491
PyObject* initModule() {
HANDLE_TH_ERRORS
at::internal::lazy_init_num_threads();