Softmax

Softmax

image-20230512141834658

将输出的离散值转换成概率值,且所有情况的概率之和为1。

image-20230512142531121

求导

image-20230512143047566 image-20230512143141675

image-20230512143557822

pytorch实现

image-20230512144114729
posted @ 2023-05-25 18:46  同淋雪  阅读(120)  评论(0)    收藏  举报