mirror of
https://github.com/pytorch/pytorch.git
synced 2025-10-20 12:54:11 +08:00
This PR follows #116751. Pull Request resolved: https://github.com/pytorch/pytorch/pull/116486 Approved by: https://github.com/albanD
13 lines
257 B
C++
13 lines
257 B
C++
#pragma once
|
|
|
|
// Instantiates torch._C._LegacyVariableBase, which defines the Python
|
|
// constructor (__new__) for torch.autograd.Variable.
|
|
|
|
#include <torch/csrc/python_headers.h>
|
|
|
|
namespace torch::autograd {
|
|
|
|
void init_legacy_variable(PyObject* module);
|
|
|
|
}
|