mirror of
https://github.com/opelly27/Stockfish.git
synced 2026-05-20 07:27:46 +00:00
Remove some unnecessary declarations and headers.
bench: 4578298
This commit is contained in:
@@ -4,8 +4,6 @@
|
|||||||
#define NNUE_EVALUATE_NNUE_H_INCLUDED
|
#define NNUE_EVALUATE_NNUE_H_INCLUDED
|
||||||
|
|
||||||
#include "nnue_feature_transformer.h"
|
#include "nnue_feature_transformer.h"
|
||||||
#include "nnue_architecture.h"
|
|
||||||
#include "../misc.h"
|
|
||||||
|
|
||||||
#include <memory>
|
#include <memory>
|
||||||
|
|
||||||
@@ -27,25 +25,6 @@ namespace Eval::NNUE {
|
|||||||
template <typename T>
|
template <typename T>
|
||||||
using AlignedPtr = std::unique_ptr<T, AlignedDeleter<T>>;
|
using AlignedPtr = std::unique_ptr<T, AlignedDeleter<T>>;
|
||||||
|
|
||||||
// Input feature converter
|
|
||||||
extern AlignedPtr<FeatureTransformer> feature_transformer;
|
|
||||||
|
|
||||||
// Evaluation function
|
|
||||||
extern AlignedPtr<Network> network;
|
|
||||||
|
|
||||||
// Evaluation function file name
|
|
||||||
extern std::string fileName;
|
|
||||||
|
|
||||||
// Get a string that represents the structure of the evaluation function
|
|
||||||
std::string GetArchitectureString();
|
|
||||||
|
|
||||||
// read the header
|
|
||||||
bool ReadHeader(std::istream& stream,
|
|
||||||
std::uint32_t* hash_value, std::string* architecture);
|
|
||||||
|
|
||||||
// read evaluation function parameters
|
|
||||||
bool ReadParameters(std::istream& stream);
|
|
||||||
|
|
||||||
} // namespace Eval::NNUE
|
} // namespace Eval::NNUE
|
||||||
|
|
||||||
#endif // #ifndef NNUE_EVALUATE_NNUE_H_INCLUDED
|
#endif // #ifndef NNUE_EVALUATE_NNUE_H_INCLUDED
|
||||||
|
|||||||
Reference in New Issue
Block a user