pytorch/torch/csrc/functorch/init.h
Richard Zou 5e5c319549 Move functorch python bindings to torch/csrc (#85426)
This moves functorch's python bindings to torch/csrc/functorch/init.cpp.
Coming next is the torchdim move. I didn't do torchdim yet because
moving functorch's python bindings unblocks some other things that I
want to do first.

Test Plan:
- tests
Pull Request resolved: https://github.com/pytorch/pytorch/pull/85426
Approved by: https://github.com/ezyang
2022-09-22 18:47:12 +00:00

13 lines
222 B
C++

#include <pybind11/pybind11.h>
#include <torch/csrc/utils/pybind.h>
namespace torch {
namespace functorch {
namespace impl {
void initFuncTorchBindings(PyObject* module);
}
} // namespace functorch
} // namespace torch