One more question.
When i try implement hidden layer manually using “self.hidden[0].detach_()” and other two as you advised,every time i get “TypeError: ‘tuple’ object does not support item assignment”.
I try it within batch loop and within forward method. It’s always the same.
How can i handle it?