使用PyTorch實作Gradient Reversal Layer
Legacy autograd function with non-static forward method is deprecated. Please use new-style autograd function with static forward method.的錯誤,因此需要一些調整。詳細可參考下方的程式碼。
Dec-11-2021, 13:15:08 GMT
- Technology:
Legacy autograd function with non-static forward method is deprecated. Please use new-style autograd function with static forward method.的錯誤,因此需要一些調整。詳細可參考下方的程式碼。
Dec-11-2021, 13:15:08 GMT