sgnlp
Quickstart
Advanced Tutorial
API Reference
models
csgec
emotion_entailment
lsr
rst_pointer
rumour_detection_twitter
config
modeling
modules
tokenization
train
utils
sentic_gcn
span_extraction
ufd
utils
sgnlp
»
sgnlp
»
models
»
rumour_detection_twitter
»
modules
»
layer
»
multi_head_attention
View page source
multi_head_attention
ΒΆ
Classes
MultiHeadAttention
Based on the paper, each layer has 2 subayers: