Cyan's Blog

Search

Search IconIcon to open search

D2L-67-Attention Scoring Function

Last updated Apr 21, 2022 Edit Source

# 注意力评分函数

2022-04-21

Tags: #Attention #DeepLearning

形式化的表达如下:

# Masked SoftMax

# 两种注意力评分函数

# Additive Attention

D2L-68-Additive Attention

# Scaled Dot-Product Attention

D2L-69-Scaled Dot-Product Attention