【强化学习】tensorflow2.0构造DDPG训练LunarLanderContinuous-v2
fromtensorflow.kerasimportoptimizers,layers,models,lossesfromcollectionsimportdequeimportmatplotlib.pyplotaspltimporttensorflowastfimportnumpyasnpimportrandomimportgymimportcopy#配置GPU内存physical_device