Documentation ¶
Overview ¶
Package fffb provides feedforward (FF) and feedback (FB) inhibition (FFFB) based on average (or maximum) excitatory netinput (FF) and activation (FB).
This produces a robust, graded k-Winners-Take-All dynamic of sparse distributed representations having approximately k out of N neurons active at any time, where k is typically 10-20 percent of N.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Inhib ¶
type Inhib struct { FFi float32 `desc:"computed feedforward inhibition"` FBi float32 `desc:"computed feedback inhibition (total)"` Gi float32 `` /* 146-byte string literal not displayed */ GiOrig float32 `desc:"original value of the inhibition (before pool or other effects)"` LayGi float32 `` /* 127-byte string literal not displayed */ Ge minmax.AvgMax32 `desc:"average and max Ge excitatory conductance values, which drive FF inhibition"` Act minmax.AvgMax32 `desc:"average and max Act activation values, which drive FB inhibition"` }
Inhib contains state values for computed FFFB inhibition
type Params ¶
type Params struct { On bool `desc:"enable this level of inhibition"` Gi float32 `` /* 226-byte string literal not displayed */ FF float32 `` /* 316-byte string literal not displayed */ FB float32 `` /* 253-byte string literal not displayed */ FBTau float32 `` /* 471-byte string literal not displayed */ MaxVsAvg float32 `` /* 755-byte string literal not displayed */ FF0 float32 `` /* 398-byte string literal not displayed */ FBDt float32 `inactive:"+" view:"-" json:"-" xml:"-" desc:"rate = 1 / tau"` }
Params parameterizes feedforward (FF) and feedback (FB) inhibition (FFFB) based on average (or maximum) netinput (FF) and activation (FB)
func (*Params) FBInhib ¶
FBInhib computes feedback inhibition value as function of average activation
func (*Params) FFInhib ¶
FFInhib returns the feedforward inhibition value based on average and max excitatory conductance within relevant scope