1 | #pragma once |
---|---|
2 | |
3 | // Instantiates torch._C._LegacyVariableBase, which defines the Python |
4 | // constructor (__new__) for torch.autograd.Variable. |
5 | |
6 | #include <torch/csrc/python_headers.h> |
7 | |
8 | namespace torch { |
9 | namespace autograd { |
10 | |
11 | void init_legacy_variable(PyObject* module); |
12 | |
13 | } |
14 | } // namespace torch |
15 |