dragen1860 / Deep-Learning-with-TensorFlow-book

深度学习入门开源书,基于TensorFlow 2.0案例实战。Open source Deep Learning book, based on TensorFlow 2.0 framework.
http://www.ai101edu.com
13.2k stars 4.09k forks source link

14章reinforce算法有疑问 #218

Closed xlyue92 closed 3 years ago

xlyue92 commented 3 years ago

reinforce.py算法里的train_net部分,怎么会每个episode结束后stop_recording() 再求gradient呢?那全部train完之后theta根本不更新啊