utils.py 文件源码

python
阅读 32 收藏 0 点赞 0 评论 0

项目:DRLModule 作者: halleanwoo 项目源码 文件源码
def update_prmt_dqn(scope_main):
    q_prmts = tf.get_collection( tf.GraphKeys.GLOBAL_VARIABLES ,  scope_main + "/q_network"  )
    target_prmts = tf.get_collection( tf.GraphKeys.GLOBAL_VARIABLES, scope_main + "/target_network"  )
    sess.run( [tf.assign(t , q)for t,q in zip(target_prmts , q_prmts)])  #***
    print("updating target-network parmeters...")

#
# def local2global():


# def global2local():




# ========= Error Raise =========
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号