使用PyTorch實作Gradient Reversal Layer

#artificialintelligence 

Legacy autograd function with non-static forward method is deprecated. Please use new-style autograd function with static forward method.的錯誤,因此需要一些調整。詳細可參考下方的程式碼。