PyTorch Forums
Why does pytorch prompt: RuntimeError: Legacy autograd function with non-static forward method is deprecated. Please use new-style autograd function with static forward method
autograd
johansmithy
(A. Goyal)
April 14, 2022, 2:42am
2
Found a solution:
Custom autograd.Function: must it be static? - #3 by Megh_Bhalerao
show post in topic