Documentation ¶
Index ¶
- type Layer
- func (l *Layer) ClearHashTables()
- func (l *Layer) GetAllNodes() []*node.Node
- func (l *Layer) GetHashForInputProcessing(weights []float64) []int
- func (l *Layer) GetNodeById(nodeId int) *node.Node
- func (l *Layer) GetNomalizationConstant(inputId int) float64
- func (l *Layer) HashTablesAdd(indices []int, id int) []int
- func (l *Layer) HashesToIndex(hashes []int) []int
- func (l *Layer) NumOfNodes() int
- func (la *Layer) QueryActiveNodeAndComputeActivations(cowId int, activeNodesPerLayer [][]index_value.Pair, layerIndex int, ...) (int, *Layer)
- func (l *Layer) UpdateRandomNodes()
- func (la *Layer) UpdateTable(cowId int) *Layer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Layer ¶
type Layer struct {
// contains filtered or unexported fields
}
func (*Layer) ClearHashTables ¶
func (l *Layer) ClearHashTables()
func (*Layer) GetAllNodes ¶
func (*Layer) GetHashForInputProcessing ¶
func (*Layer) GetNomalizationConstant ¶
func (*Layer) HashesToIndex ¶
func (*Layer) NumOfNodes ¶
func (*Layer) QueryActiveNodeAndComputeActivations ¶
func (*Layer) UpdateRandomNodes ¶
func (l *Layer) UpdateRandomNodes()
func (*Layer) UpdateTable ¶
TODO: duplicated code from New
Click to show internal directories.
Click to hide internal directories.