Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrNoSensors = errors.New("network requires at least 1 input neuron") ErrNoOutputs = errors.New("network requires at least 1 output neuron") )
Known errors
Functions ¶
This section is empty.
Types ¶
type Layer ¶
type Layer struct { Activations []evo.Activation // activation functions for neurons in this layer Biases []float64 // bias values for this layer Sources []int // indexes of source layers Weights []*mat.Dense // weights to each source layer }
Layer in the neural network
Click to show internal directories.
Click to hide internal directories.