mirror of
https://github.com/pytorch/pytorch.git
synced 2025-10-21 05:34:18 +08:00
Part of #91395 Pull Request resolved: https://github.com/pytorch/pytorch/pull/92647 Approved by: https://github.com/ezyang, https://github.com/albanD
8 lines
195 B
C
8 lines
195 B
C
#pragma once
|
|
|
|
#include <c10/core/impl/PyInterpreter.h>
|
|
#include <torch/csrc/Export.h>
|
|
|
|
TORCH_PYTHON_API c10::impl::PyInterpreter* getPyInterpreter();
|
|
TORCH_PYTHON_API bool isMainPyInterpreter();
|