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"` B *nn.Param `type:"biases"` BPart *nn.Param `type:"biases"` Alpha *nn.Param `type:"weights"` Beta1 *nn.Param `type:"weights"` Beta2 *nn.Param `type:"weights"` }
Model contains the serializable parameters.
type Processor ¶
type Processor struct { nn.BaseProcessor States []*State // contains filtered or unexported fields }
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.