Skip to content

习题 8-2 #77

Open
Open
@Jasonmils

Description

输入x的方差越大, exp(x)的方差就越大,所以softmax后得到的向量分布更加趋近于0或者1,softmax的梯度如下
image
因此其梯度更加趋近于0

缩小x的方差可以限制softmax的两级(01)分化趋势,从而减缓梯度消失

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions