created basic nnue files and structures
This commit is contained in:
1 parent
a9e31a9917
commit
82c969a2ad
7 files changed
+127
No files matched your search
@@ -0,0 +1,20 @@
|
||||
#pragma once
|
||||
#include "nnue.h"
|
||||
|
||||
namespace ACC {
|
||||
|
||||
struct Accumulator {
|
||||
int16_t values[NNUE::HL_SIZE];
|
||||
|
||||
void Add(const NNUE::Network* net, int index);
|
||||
void Sub(const NNUE::Network* net, int index);
|
||||
};
|
||||
|
||||
struct AccumulatorPair {
|
||||
Accumulator white;
|
||||
Accumulator black;
|
||||
};
|
||||
|
||||
int CalculateIndex(bool perspective, int square, int pieceType, bool side);
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user