Files
pytorch/torch/csrc/PyInterpreterHooks.h
Yuanyuan Chen 36871622f1 [2/N] Mark unused parameters in C++ code (#165121)
This is follow-up of #164912 to mark unused C++ parameters to improve code readability.

Pull Request resolved: https://github.com/pytorch/pytorch/pull/165121
Approved by: https://github.com/Skylion007
2025-10-15 03:04:39 +00:00

16 lines
395 B
C++

#pragma once
#include <c10/core/impl/PyInterpreterHooks.h>
namespace torch::detail {
// Concrete implementation of PyInterpreterHooks
class PyInterpreterHooks : public c10::impl::PyInterpreterHooksInterface {
public:
explicit PyInterpreterHooks(c10::impl::PyInterpreterHooksArgs /*unused*/);
c10::impl::PyInterpreter* getPyInterpreter() const override;
};
} // namespace torch::detail