Documentation ¶
Index ¶
- type Node
- func (n *Node) AdamTDim() int
- func (nd *Node) BackPropagate(cowId int, previousNodes *[]*Node, previousLayerActiveNodes []index_value.Pair, ...) *Node
- func (nd *Node) BackPropagateFirstLayer(cowId int, indexValuePairs []index_value.Pair, learningRate float64, ...) *Node
- func (n *Node) Bias() float64
- func (nd *Node) ComputeExtaStatsForSoftMax(cowId int, normalizationConstant float64, inputId int, labels []int) *Node
- func (nd *Node) CopyWeightsAndBiasFromMirror(cowId int) *Node
- func (nd *Node) GetActivation(cowId int, data []index_value.Pair, inputId int) (float64, *Node)
- func (n *Node) GetAdamAvgMom(i int) float64
- func (n *Node) GetAdamAvgMomBias() float64
- func (n *Node) GetAdamAvgVel(i int) float64
- func (n *Node) GetAdamAvgVelBias() float64
- func (n *Node) GetBias() float64
- func (n *Node) GetGradient(cowId int, weightId, inputId int, inputVal float64) float64
- func (n *Node) GetLastActivation(inputId int) float64
- func (n *Node) GetT(i int) float64
- func (n *Node) GetTBias() float64
- func (nd *Node) IncrementDelta(cowId, inputId int, incrementValue float64) *Node
- func (nd *Node) PurturbWeight(cowId int, weightId int, delta float64) (float64, *Node)
- func (nd *Node) SetAdamAvgMom(cowId, i int, value float64) *Node
- func (nd *Node) SetAdamAvgMomBias(cowId int, value float64) *Node
- func (nd *Node) SetAdamAvgVel(cowId, i int, value float64) *Node
- func (nd *Node) SetAdamAvgVelBias(cowId int, value float64) *Node
- func (nd *Node) SetBias(cowId int, value float64) *Node
- func (nd *Node) SetT(cowId, i int, value float64) *Node
- func (nd *Node) SetTBias(cowId int, value float64) *Node
- func (nd *Node) SetlastActivation(cowId int, inputId int, realActivation float64) *Node
- func (nd *Node) Update(cowId int, adamTDim int, nodeId int, layerId int, nodeType NodeType, ...) *Node
- func (n *Node) Weights() []float64
- type NodeTrain
- type NodeType
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Node ¶
type Node struct {
// contains filtered or unexported fields
}
func NewEmptyNode ¶
func (*Node) BackPropagate ¶
func (*Node) BackPropagateFirstLayer ¶
func (*Node) ComputeExtaStatsForSoftMax ¶
func (*Node) CopyWeightsAndBiasFromMirror ¶
func (*Node) GetActivation ¶
func (*Node) GetAdamAvgMom ¶
func (*Node) GetAdamAvgMomBias ¶
func (*Node) GetAdamAvgVel ¶
func (*Node) GetAdamAvgVelBias ¶
func (*Node) GetGradient ¶
func (*Node) GetLastActivation ¶
func (*Node) IncrementDelta ¶
func (*Node) PurturbWeight ¶
for debugging gradients.
func (*Node) SetlastActivation ¶
type NodeTrain ¶
type NodeTrain struct {
// contains filtered or unexported fields
}
func NewNodeTrain ¶
Click to show internal directories.
Click to hide internal directories.