mirror of
https://github.com/zebrajr/pytorch.git
synced 2025-12-07 12:21:27 +01:00
Let's have some fun. Pull Request resolved: https://github.com/pytorch/pytorch/pull/78828 Approved by: https://github.com/ezyang
15 lines
289 B
C++
15 lines
289 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 {
|
|
namespace autograd {
|
|
|
|
void init_legacy_variable(PyObject* module);
|
|
|
|
}
|
|
} // namespace torch
|