mirror of
https://github.com/pytorch/pytorch.git
synced 2025-10-20 12:54:11 +08:00
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
16 lines
395 B
C++
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
|