[NNUE] Remove not used network architecture

No functional change.
This commit is contained in:
Dariusz Orzechowski
2020-08-01 14:52:58 +02:00
committed by Joost VandeVondele
parent 9f2f46c212
commit 292c9efb1d
2 changed files with 0 additions and 37 deletions

View File

@@ -1,36 +0,0 @@
// Definition of input features and network structure used in NNUE evaluation function
#ifndef NNUE_HALFKP_384X2_32_32_H_INCLUDED
#define NNUE_HALFKP_384X2_32_32_H_INCLUDED
#include "../features/feature_set.h"
#include "../features/half_kp.h"
#include "../layers/input_slice.h"
#include "../layers/affine_transform.h"
#include "../layers/clipped_relu.h"
namespace Eval::NNUE {
// Input features used in evaluation function
using RawFeatures = Features::FeatureSet<
Features::HalfKP<Features::Side::kFriend>>;
// Number of input feature dimensions after conversion
constexpr IndexType kTransformedFeatureDimensions = 384;
namespace Layers {
// define network structure
using InputLayer = InputSlice<kTransformedFeatureDimensions * 2>;
using HiddenLayer1 = ClippedReLU<AffineTransform<InputLayer, 32>>;
using HiddenLayer2 = ClippedReLU<AffineTransform<HiddenLayer1, 32>>;
using OutputLayer = AffineTransform<HiddenLayer2, 1>;
} // namespace Layers
using Network = Layers::OutputLayer;
} // namespace Eval::NNUE
#endif // #ifndef NNUE_HALFKP_384X2_32_32_H_INCLUDED

View File

@@ -5,7 +5,6 @@
// include a header that defines the input features and network structure
#include "architectures/halfkp_256x2-32-32.h"
//#include "architectures/halfkp_384x2-32-32.h"
namespace Eval::NNUE {