//
pkg.gl
Category
github.com/nlpodyssey/spago
nn
attention
selfattention
package
1.1.0
Repository:
https://github.com/nlpodyssey/spago.git
Documentation:
pkg.go.dev
Versions
1
Dependencies
10
Dependents
1
Files
78 SLOC
#
Functions
New
New returns a new model with parameters initialized to zeros.
#
Structs
Config
Config provides configuration settings for a Self-Attention Model.
Model
Model contains the serializable parameters.
#
Type aliases
Cache
Cache contains the projected keys and values at index 0, 1 respectively.