Fixed GAE for autoreset=true
fixed gae calculation to deal with autoreset= true and false. The idea consists in passing the current values and the next values separately, and to make all the Tensor adaptations from the outside.
fixed gae calculation to deal with autoreset= true and false. The idea consists in passing the current values and the next values separately, and to make all the Tensor adaptations from the outside.