Versions in this module Expand all Collapse all v1 v1.55.0 Jan 12, 2024 Changes in this version + const AvxInstructions type EvaluationService + func NewDefaultEvaluationService() *EvaluationService v1.50.0 Nov 23, 2022 Changes in this version + const Add + const HiddenSize + const InputSize + const MaxHeight + const Remove + type EvaluationService struct + func NewEvaluationService(weights *Weights) *EvaluationService + func (e *EvaluationService) Evaluate(p *Position) int + func (e *EvaluationService) EvaluateQuick(p *Position) int + func (e *EvaluationService) Init(p *Position) + func (e *EvaluationService) MakeMove(p *Position, m Move) + func (e *EvaluationService) QuickFeed() float32 + func (e *EvaluationService) UnmakeMove() + func (e *EvaluationService) UpdateHidden() + type Updates struct + Coeffs [8]int8 + Indices [8]int16 + Size int + func (u *Updates) Add(index int16, coeff int8) + type Weights struct + HiddenBiases [HiddenSize]float32 + HiddenWeights [InputSize * HiddenSize]float32 + OutputBias float32 + OutputWeights [HiddenSize]float32 + func LoadWeights(f io.Reader) (*Weights, error)