Translation

Files in /eval, /extra, & /learn - comments translated from Japanese to English
This commit is contained in:
FireFather
2020-06-28 03:12:55 +02:00
parent 2f8c692caa
commit aea08de018
54 changed files with 1903 additions and 1905 deletions
+4 -4
View File
@@ -1,4 +1,4 @@
// NNUE評価関数の入力特徴量Kの定義
//Definition of input feature quantity K of NNUE evaluation function
#if defined(EVAL_NNUE)
@@ -11,10 +11,10 @@ namespace NNUE {
namespace Features {
// 特徴量のうち、値が1であるインデックスのリストを取得する
// Get a list of indices with a value of 1 among the features
void K::AppendActiveIndices(
const Position& pos, Color perspective, IndexList* active) {
// コンパイラの警告を回避するため、配列サイズが小さい場合は何もしない
// do nothing if array size is small to avoid compiler warning
if (RawFeatures::kMaxActiveDimensions < kMaxActiveDimensions) return;
const BonaPiece* pieces = (perspective == BLACK) ?
@@ -27,7 +27,7 @@ void K::AppendActiveIndices(
}
}
// 特徴量のうち、一手前から値が変化したインデックスのリストを取得する
// Get a list of indices whose values have changed from the previous one in the feature quantity
void K::AppendChangedIndices(
const Position& pos, Color perspective,
IndexList* removed, IndexList* added) {