Replace the old loss/grad calculation completely.

This commit is contained in:
Tomasz Sobczyk
2020-12-02 08:56:20 +09:00
committed by nodchip
parent b71d1e8620
commit 539bd2d1c8
5 changed files with 79 additions and 230 deletions
-1
View File
@@ -68,7 +68,6 @@ namespace Learner
// Learning from the generated game record
void learn(std::istringstream& is);
using CalcGradFunc = double(Value, Value, int, int);
using CalcLossFunc = ValueWithGrad<double>(Value, Value, int, int);
}