Documentation ¶
Overview ¶
Package interinhib provides inter-layer inhibition params, which can be added to Layer types. Call at the start of the Layer InhibFmGeAct method like this: // InhibFmGeAct computes inhibition Gi from Ge and Act averages within relevant Pools
func (ly *Layer) InhibFmGeAct(lctxt *Context) { lpl := &ly.Pools[0] ly.Params.Inhib.Layer.Inhib(&lpl.Inhib) ly.InterInhib.Inhib(&ly.Layer) // does inter-layer inhibition ly.PoolInhibFmGeAct(ltime) }
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type InterInhib ¶
type InterInhib struct { // layers to receive inhibition from Lays emer.LayNames `desc:"layers to receive inhibition from"` // multiplier on Gi from other layers Gi float32 `desc:"multiplier on Gi from other layers"` // add inhibition -- otherwise Max Add bool `desc:"add inhibition -- otherwise Max"` }
InterInhib specifies inhibition between layers, where the receiving layer either does a Max or Add of portion of inhibition from other layer(s).
func (*InterInhib) Defaults ¶
func (il *InterInhib) Defaults()
func (*InterInhib) Inhib ¶
func (il *InterInhib) Inhib(ly *axon.Layer)
Inhib updates layer inhibition based on other layer inhibition
Click to show internal directories.
Click to hide internal directories.