-
Notifications
You must be signed in to change notification settings - Fork 27
/
Copy pathtypegen.go
11 lines (7 loc) · 1.77 KB
/
typegen.go
1
2
3
4
5
6
7
8
9
10
11
// Code generated by "core generate -add-types"; DO NOT EDIT.
package actrf
import (
"cogentcore.org/core/types"
)
var _ = types.AddType(&types.Type{Name: "github.com/emer/emergent/v2/actrf.RF", IDName: "rf", Doc: "RF is used for computing an activation-based receptive field.\nIt simply computes the activation weighted average of other\n*source* patterns of activation -- i.e., sum(act * src) / sum(src)\nwhich then shows you the patterns of source activity for which\na given unit was active.\nYou must call Init to initialize everything, Reset to restart the accumulation of the data,\nand Avg to compute the resulting averages based an accumulated data.\nAvg does not erase the accumulated data so it can continue beyond that point.", Fields: []types.Field{{Name: "Name", Doc: "name of this RF -- used for management of multiple in RFs"}, {Name: "RF", Doc: "computed receptive field, as SumProd / SumSrc -- only after Avg has been called"}, {Name: "NormRF", Doc: "unit normalized version of RF per source (inner 2D dimensions) -- good for display"}, {Name: "NormSrc", Doc: "normalized version of SumSrc -- sum of each point in the source -- good for viewing the completeness and uniformity of the sampling of the source space"}, {Name: "SumProd", Doc: "sum of the products of act * src"}, {Name: "SumSrc", Doc: "sum of the sources (denomenator)"}, {Name: "MPITmp", Doc: "temporary destination sum for MPI -- only used when MPISum called"}}})
var _ = types.AddType(&types.Type{Name: "github.com/emer/emergent/v2/actrf.RFs", IDName: "r-fs", Doc: "RFs manages multiple named RF's -- each one must be initialized first\nbut functions like Avg, Norm, and Reset can be called generically on all.", Fields: []types.Field{{Name: "NameMap", Doc: "map of names to indexes of RFs"}, {Name: "RFs", Doc: "the RFs"}}})