mirror of
https://github.com/pytorch/pytorch.git
synced 2025-10-21 05:34:18 +08:00
Follows #139385 Pull Request resolved: https://github.com/pytorch/pytorch/pull/139599 Approved by: https://github.com/sraikund16
19 lines
423 B
C++
19 lines
423 B
C++
#ifndef THP_AUTOGRAD_H
|
|
#define THP_AUTOGRAD_H
|
|
#include <torch/csrc/utils/pythoncapi_compat.h>
|
|
|
|
PyObject* THPAutograd_initExtension(PyObject* _unused, PyObject* unused);
|
|
void THPAutograd_initFunctions();
|
|
|
|
namespace torch::autograd {
|
|
|
|
PyMethodDef* python_functions();
|
|
|
|
}
|
|
|
|
#include <torch/csrc/autograd/python_engine.h>
|
|
#include <torch/csrc/autograd/python_function.h>
|
|
#include <torch/csrc/autograd/python_variable.h>
|
|
|
|
#endif
|