Documentation ¶
Overview ¶
Package slstm implements a Sentence-State LSTM graph neural network.
Reference: "Sentence-State LSTM for Text Representation" by Zhang et al, 2018. (https://arxiv.org/pdf/1805.02474.pdf)
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HyperLinear3 ¶
HyperLinear3 groups multiple params for an affine transformation.
type HyperLinear4 ¶
HyperLinear4 groups multiple params for an affine transformation.
type Model ¶
type Model struct { nn.Module Config Config InputGate *HyperLinear4 LeftCellGate *HyperLinear4 RightCellGate *HyperLinear4 CellGate *HyperLinear4 SentCellGate *HyperLinear4 OutputGate *HyperLinear4 InputActivation *HyperLinear4 NonLocalSentCellGate *HyperLinear3 NonLocalInputGate *HyperLinear3 NonLocalSentOutputGate *HyperLinear3 StartH *nn.Param EndH *nn.Param InitValue *nn.Param }
Model contains the serializable parameters.
Click to show internal directories.
Click to hide internal directories.