Documentation ¶
Index ¶
- Variables
- func IntSequence(begin, end, step int) (sequence []int)
- type ConditionParams
- type ConditionParamsMap
- type DataLoopOrder
- type IRecs
- type Recs
- func (recs *Recs) AtEnd() bool
- func (recs *Recs) Cur() int
- func (recs *Recs) GetIndex() []int
- func (recs *Recs) Length() int
- func (recs *Recs) Permute()
- func (recs *Recs) ReadNext() interface{}
- func (recs *Recs) Reset()
- func (recs *Recs) Sequential()
- func (recs *Recs) SetIndex(ix []int) error
- func (recs *Recs) SetOrder(order DataLoopOrder)
- func (recs *Recs) SetPos(i int)
- func (recs *Recs) WriteNext(rec interface{})
- type RunParams
- type RunParamsMap
- type USTVal
Constants ¶
This section is empty.
Variables ¶
View Source
var KiT_DataLoopOrder = kit.Enums.AddEnum(DataLoopOrderN, kit.NotBitFlag, nil)
View Source
var USTimeInVals map[string]int = map[string]int{}/* 321 elements not displayed */
Functions ¶
func IntSequence ¶
Types ¶
type ConditionParams ¶
type ConditionParams struct { Nm string `desc:"identifier for this type of configuration"` Desc string `desc:"description of this configuration"` TrialBlkNm string `desc:"trial group name"` FixedProb bool `desc:"fixed probability for each trial group"` NIters int `desc:"number of iterations to run"` BlocksPerIter int `` /* 168-byte string literal not displayed */ PermuteTrialGps bool `desc:"permute list of fully-instantiated trials after generation"` SaveFinalWts bool `desc:"save final weights after training"` SaveWtsInterval int `desc:"how frequently to save weights during training (in blocks)"` TestInterval int `desc:"how frequently (blocks) to run a test during training"` LogTrials bool `desc:"should trial-level data be saved to log files?"` LoadWeights bool `desc:"load initial weights from a file (specified in weights_file)"` WeightsFile string `` /* 126-byte string literal not displayed */ LoadStBlk int `desc:"after loading weights, reset block counter to this value (-1 = leave at value from the loaded weights)"` LrsStepBlks int `desc:"learning rate schedule blocks per step of decrease in learning rate"` LrsNSteps int `desc:"number of steps in the learning rate schedule"` LrsBumpStep int `` /* 138-byte string literal not displayed */ }
ConditionParams contains settings for one portion of a Run. A ConditionParams refers to a single ConditionParams, along with other information such as the number of times to run each instantiated Block. A single Block can be referenced by many RunBlocks.
type ConditionParamsMap ¶
type ConditionParamsMap map[string]ConditionParams
func AllConditionParams ¶
func AllConditionParams() ConditionParamsMap
type DataLoopOrder ¶
type DataLoopOrder int
const ( SEQUENTIAL DataLoopOrder = iota PERMUTED RANDOM DataLoopOrderN )
type Recs ¶
type Recs struct { Records IRecs DType reflect.Kind Index []int INext int NRead int Order DataLoopOrder }
func (*Recs) Sequential ¶
func (recs *Recs) Sequential()
func (*Recs) SetOrder ¶
func (recs *Recs) SetOrder(order DataLoopOrder)
type RunParams ¶
type RunParams struct { Nm string `desc:"Name of the sequence"` Desc string `desc:"Description"` Cond1Nm string `desc:"name of condition 1"` Cond2Nm string `desc:"name of condition 2"` Cond3Nm string `desc:"name of condition 3"` Cond4Nm string `desc:"name of condition 4"` Cond5Nm string `desc:"name of condition 5"` }
A sequence of runs (each step is a ConditionParams object)
type RunParamsMap ¶
func AllRunParams ¶
func AllRunParams() RunParamsMap
Click to show internal directories.
Click to hide internal directories.