#pragma once #include #include #include class Board; namespace NNUE { constexpr int INPUT_SIZE = 768; constexpr int HL_SIZE = 64; constexpr int SCALE = 400; constexpr int QA = 255; constexpr int QB = 64; struct Network { std::array accumulator_weights; std::array accumulator_biases; std::array output_weights; int16_t output_bias; void Load(const std::string& path); int16_t Evaluate(const Board& board); }; inline Network net; }