]> git.sesse.net Git - stockfish/blobdiff - src/nnue/evaluate_nnue.h
Introduce a function to compute NNUE accumulator
[stockfish] / src / nnue / evaluate_nnue.h
index 24aa6cc0051e4e2a068c7459f02ed0477f24c5ce..15638caeeafe4a214d315e4298365d84519d3aa0 100644 (file)
@@ -1,6 +1,6 @@
 /*
   Stockfish, a UCI chess playing engine derived from Glaurung 2.1
-  Copyright (C) 2004-2021 The Stockfish developers (see AUTHORS file)
+  Copyright (C) 2004-2023 The Stockfish developers (see AUTHORS file)
 
   Stockfish is free software: you can redistribute it and/or modify
   it under the terms of the GNU General Public License as published by
@@ -28,8 +28,9 @@
 namespace Stockfish::Eval::NNUE {
 
   // Hash value of evaluation function structure
-  constexpr std::uint32_t kHashValue =
-      FeatureTransformer::GetHashValue() ^ Network::GetHashValue();
+  constexpr std::uint32_t HashValue =
+      FeatureTransformer::get_hash_value() ^ Network::get_hash_value();
+
 
   // Deleter for automating release of memory area
   template <typename T>