lazy accumulator updates with finny tables 1632393
This commit is contained in:
1 parent
dd831d14bf
commit
1e41671002
8 files changed
+422
-207
No files matched your search
@@ -5,6 +5,10 @@
|
||||
|
||||
class Board;
|
||||
|
||||
namespace ACC {
|
||||
struct AccumulatorPair;
|
||||
}
|
||||
|
||||
#ifdef __AVX512F__
|
||||
constexpr size_t ALIGNMENT = 64;
|
||||
#else
|
||||
@@ -54,6 +58,8 @@ struct Network {
|
||||
|
||||
void Load(const std::string& path);
|
||||
|
||||
int16_t Evaluate(const Board& board, const ACC::AccumulatorPair& acc, bool datagen = false);
|
||||
|
||||
int16_t Evaluate(const Board& board, bool datagen = false);
|
||||
};
|
||||
|
||||
|
||||
Reference in new issue
Block a user