Documentation
¶
Index ¶
Constants ¶
View Source
const ( // Width is the width of the network Width = 256 // Offset is the offset Offset = Width // EncoderCols is the number of encoder columns EncoderCols = Width + 256 // EncoderRows is the number of encoder rows EncoderRows = Width // EncoderSize is the number of encoder parameters EncoderSize = EncoderCols * EncoderRows // DecoderCols is the number of decoder columns DecoderCols = Width // DecoderRows is the number of decoder rows DecoderRows = Width + 256 // DecoderSize is the number of decoder parameters DecoderSize = DecoderCols * DecoderRows )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Distribution ¶
type Distribution struct { EncoderWeights []Random EncoderBias []Random DecoderWeights []Random DecoderBias []Random }
Distribution is a distribution of a neural network
func NewDistribution ¶
func NewDistribution(rng *rand.Rand) Distribution
NewDistribution creates a new distribution
Click to show internal directories.
Click to hide internal directories.