Documentation ¶ Index ¶ func CreateBrain(p state.Parameters) error func New(p state.Parameters, ch chan state.SnakeGame, pad chan snake.KeyboardEvent, ...) error func ReLU(x float64) float64 func SoftMax(x []float64) []float64 type Result Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func CreateBrain ¶ func CreateBrain(p state.Parameters) error func New ¶ func New(p state.Parameters, ch chan state.SnakeGame, pad chan snake.KeyboardEvent, statCh chan state.Stat) error func ReLU ¶ func ReLU(x float64) float64 func SoftMax ¶ func SoftMax(x []float64) []float64 Types ¶ type Result ¶ type Result struct { Neuronet neuronet Score int } Source Files ¶ View all Source files neuronet.go Click to show internal directories. Click to hide internal directories.