Discover Packages
github.com/nlpodyssey/spago
pkg
ml
nn
gmlp
package
Version:
v0.7.0
Opens a new window with list of versions in this module.
Published: May 24, 2021
License: BSD-2-Clause
Opens a new window with license information.
Imports: 9
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
Block is the core model of the gMLP.
NewBlock returns a new Block.
BlockConfig provides configuration parameters for a single Block of the gMLP Model.
Config provides configuration parameters for a the gMLP Model.
Model contains the serializable parameters.
Forward performs the forward step. It adds pads if necessary.
PreNorm is a helper model to perform pre-normalization.
NewPreNorm returns a new PreNorm.
Forward performs the forward step.
Residual is a helper model to perform residual connections.
NewResidual returns a new Residual.
Forward performs the forward step.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.