mirror of
https://github.com/pytorch/pytorch.git
synced 2025-10-20 21:14:14 +08:00
Expose to python the backward AD view_func (#89586)
This will be useful for other systems (AOTAutograd) that want to replay autograd views. FYI @bdhirsh Pull Request resolved: https://github.com/pytorch/pytorch/pull/89586 Approved by: https://github.com/soulitzer
This commit is contained in:
@ -791,6 +791,11 @@ inline Variable make_variable(
|
||||
return Variable();
|
||||
}
|
||||
|
||||
namespace utils {
|
||||
|
||||
TORCH_API bool has_same_meta(const Variable& base, const Variable& other);
|
||||
|
||||
} // namespace utils
|
||||
} // namespace autograd
|
||||
} // namespace torch
|
||||
|
||||
|
Reference in New Issue
Block a user