You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I use this function on Pytorch 1.5, there is an error like that :
RuntimeError: Legacy autograd function with non-static forward method is deprecated. Please use new-sty le autograd function with static forward method. (Example: https://pytorch.org/docs/stable/autograd.htm l#torch.autograd.Function)
But there exists @staticmethod before forward and backward function. Did anyone encounter this problem?How to solve it?
The text was updated successfully, but these errors were encountered:
When I use this function on Pytorch 1.5, there is an error like that :
RuntimeError: Legacy autograd function with non-static forward method is deprecated. Please use new-sty le autograd function with static forward method. (Example: https://pytorch.org/docs/stable/autograd.htm l#torch.autograd.Function)
But there exists @staticmethod before forward and backward function. Did anyone encounter this problem?How to solve it?
The text was updated successfully, but these errors were encountered: