Tensorflow:Adam Optimizer使用

tf.train.AdamOptimizer官网接口文档

 def __init__(self, learning_rate=0.001, beta1=0.9, beta2=0.999, epsilon=1e-8,
               use_locking=False, name="Adam"):

公式原型

Args:

  • learning_rate: A Tensor or a floating point value. The learning rate.
    学习率
  • beta1: A float value or a constant float tensor. The exponential decay rate for the 1st moment estimates.
    指数衰减率的一阶矩估计
  • beta2: A float value or a constant float tensor. The exponential decay rate for the 2nd moment estimates.
    指数衰减率的二阶矩估计
  • epsilon: A small constant for numerical stability.
    防止分母除以0
    论文截图:
    算法细节

进一步学习可以看文章:
你真的懂Adam吗?

最后编辑于 :
©著作权归作者所有,转载或内容合作请联系作者
【社区内容提示】社区部分内容疑似由AI辅助生成,浏览时请结合常识与多方信息审慎甄别。
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

友情链接更多精彩内容