/usr/local/lib64/python3.6/site-packages/torch/include/ATen
Edit: /usr/local/lib64/python3.6/site-packages/torch/include/ATen/SavedTensorHooks.h (328B)
#pragma once
#include
#include
#include
namespace at {
struct TORCH_API SavedTensorDefaultHooks {
static void set_hooks(PyObject* pack_hook, PyObject* unpack_hook);
static std::pair get_hooks();
static void enable();
};
} // namespace at