Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Model ¶
type Model struct { WPart *nn.Param `type:"weights"` WPartRec *nn.Param `type:"weights"` BPart *nn.Param `type:"biases"` WRes *nn.Param `type:"weights"` WResRec *nn.Param `type:"weights"` BRes *nn.Param `type:"biases"` WCand *nn.Param `type:"weights"` WCandRec *nn.Param `type:"weights"` BCand *nn.Param `type:"biases"` }
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.