Print the used factorizer when intializing training.

This commit is contained in:
Tomasz Sobczyk
2020-10-26 13:52:35 +01:00
committed by nodchip
parent e01397c674
commit ba390a7f9a
4 changed files with 37 additions and 0 deletions
@@ -45,6 +45,14 @@ namespace Eval::NNUE::Features {
static_assert(get_array_length(kProperties) == kNumTrainingFeatureTypes, "");
public:
static constexpr std::string get_name() {
return std::string("Factorizer<") + FeatureType::kName + ">";
}
static constexpr std::string get_factorizers_string() {
return " - " + get_name();
}
// Get the dimensionality of the learning feature
static constexpr IndexType get_dimensions() {
return get_active_dimensions(kProperties);