online

package
v0.1.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 18, 2021 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Desc

type Desc struct {
	W, H, Chunksize int

	FwdRadius, BwdRadius int

	Predict bool // should this description be predicted?
}

type FwdWorkItem

type FwdWorkItem struct {
	Layer            *Layer
	HiddenChunkIndex int
}

func (*FwdWorkItem) Do

func (item *FwdWorkItem) Do() error

type Layer

type Layer struct {
	Width, Height, Chunksize int

	HiddenStates     []int
	PrevHiddenStates []int

	FeedFwdWeights [][]float64
	FeedBwdWeights [][][]Pair

	ReconActivations     [][]Pair
	PrevReconActivations [][]Pair

	VisibleLayers []Desc

	Predictions [][]int
	Input       [][]int
	PrevInput   [][]int

	Feedback     []int
	PrevFeedback []int

	Alpha, Beta float64
}

type Pair

type Pair struct {
	A, B float64
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL