Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Model ¶
type Model struct { W *nn.Param `type:"weights"` WRec *nn.Param `type:"weights"` WS []*nn.Param `type:"weights"` // coefficient vectors for scaling B *nn.Param `type:"biases"` // contains filtered or unexported fields }
This is variant of the Feedforward Sequential Memory Networks (https://arxiv.org/pdf/1512.08301.pdf) where the neurons in the same hidden layer are independent of each other and they are connected across layers as in the IndRNN.
type Processor ¶
type Processor struct { nn.BaseProcessor States []*State // contains filtered or unexported fields }
Model contains the serializable parameters.
func (*Processor) Forward ¶
Forward performs the forward step for each input and returns the result.
func (*Processor) SetInitialState ¶
Click to show internal directories.
Click to hide internal directories.