mirror of
https://github.com/pytorch/pytorch.git
synced 2025-10-21 13:44:15 +08:00
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:
committed by
Facebook GitHub Bot
parent
dfdb1547b9
commit
12a434abbc
@ -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();
|
||||
|
Reference in New Issue
Block a user