Skip to content

Commit

Permalink
Fix the incorrect NUM_PT in HalfKAv2_hmFactorized
Browse files Browse the repository at this point in the history
  • Loading branch information
dhbloo committed Oct 12, 2022
1 parent 2072820 commit 0ea1c69
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion training_data_loader.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -318,7 +318,8 @@ struct HalfKAv2_hm {

struct HalfKAv2_hmFactorized {
// Factorized features
static constexpr int PIECE_INPUTS = HalfKAv2_hm::NUM_SQ * HalfKAv2_hm::NUM_PT;
static constexpr int NUM_PT = 12;
static constexpr int PIECE_INPUTS = HalfKAv2_hm::NUM_SQ * NUM_PT;
static constexpr int INPUTS = HalfKAv2_hm::INPUTS + PIECE_INPUTS;

static constexpr int MAX_PIECE_FEATURES = 32;
Expand Down

0 comments on commit 0ea1c69

Please sign in to comment.