1
0
Fork 0
mirror of https://github.com/sockspls/badfish synced 2025-04-30 16:53:09 +00:00

Remove some unnecessary declarations and headers.

bench: 4578298
This commit is contained in:
mstembera 2020-07-28 20:01:41 -07:00
parent 5c616bc46b
commit 21d43e9500

View file

@ -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