xref: /aosp_15_r20/external/pytorch/torch/csrc/autograd/python_legacy_variable.h (revision da0073e96a02ea20f0ac840b70461e3646d07c45)
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::autograd {
9 
10 void init_legacy_variable(PyObject* module);
11 
12 }
13