Legacy autograd function with non-static forward method is deprecated error in PyTorch "1.6.0+cu101" (Colab)
RuntimeError: Legacy autograd function with non-static forward method is deprecated. Please use new-style autograd function with static forward method. (Example: https://pytorch.org/docs/stable/autograd.html#torch.autograd.Function)
Legacy autograd function with non-static forward method is deprecated error in PyTorch "1.6.0+cu101" (Colab)
RuntimeError: Legacy autograd function with non-static forward method is deprecated. Please use new-style autograd function with static forward method. (Example: https://pytorch.org/docs/stable/autograd.html#torch.autograd.Function)