//
pkg.gl
Category
github.com/nlpodyssey/spago
nn
attention
multiheadattention
package
1.1.0
Repository:
https://github.com/nlpodyssey/spago.git
Documentation:
pkg.go.dev
Versions
1
Dependencies
11
Dependents
2
Files
88 SLOC
#
Functions
New
New returns a new model with parameters initialized to zeros.
#
Structs
Model
Model contains the serializable parameters.
#
Type aliases
Cache
Cache contains the self-attention cache for each head.