1 | #pragma once |
---|---|
2 | |
3 | #include <c10/core/impl/PyInterpreter.h> |
4 | #include <torch/csrc/Export.h> |
5 | |
6 | TORCH_PYTHON_API c10::impl::PyInterpreter* getPyInterpreter(); |
7 | TORCH_PYTHON_API bool isMainPyInterpreter(); |
8 |
1 | #pragma once |
---|---|
2 | |
3 | #include <c10/core/impl/PyInterpreter.h> |
4 | #include <torch/csrc/Export.h> |
5 | |
6 | TORCH_PYTHON_API c10::impl::PyInterpreter* getPyInterpreter(); |
7 | TORCH_PYTHON_API bool isMainPyInterpreter(); |
8 |