mirror of
https://github.com/opelly27/Stockfish.git
synced 2026-05-20 07:27:46 +00:00
Simplify ClippedReLU
Removes some max calls Some speedup stats, courtesy of @AndyGrant (albeit measured in an alternate implementation) Dev 749240 nps Base 748495 nps Gain 0.100% 289936 games STC: LLR: 2.94 (-2.94,2.94) <-1.75,0.25> Total: 203040 W: 52213 L: 52179 D: 98648 Ptnml(0-2): 480, 20722, 59139, 20642, 537 https://tests.stockfishchess.org/tests/view/664805fe6dcff0d1d6b05f2c closes #5261 No functional change
This commit is contained in:
committed by
Joost VandeVondele
parent
2d32581623
commit
27eb49a221
+2
-4
@@ -59,8 +59,7 @@ void make_option(OptionsMap* options, const string& n, int v, const SetRange& r)
|
||||
|
||||
// Print formatted parameters, ready to be copy-pasted in Fishtest
|
||||
std::cout << n << "," << v << "," << r(v).first << "," << r(v).second << ","
|
||||
<< (r(v).second - r(v).first) / 20.0 << ","
|
||||
<< "0.0020" << std::endl;
|
||||
<< (r(v).second - r(v).first) / 20.0 << "," << "0.0020" << std::endl;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -118,7 +117,6 @@ void Tune::Entry<Tune::PostUpdate>::read_option() {
|
||||
|
||||
namespace Stockfish {
|
||||
|
||||
void Tune::read_results() { /* ...insert your values here... */
|
||||
}
|
||||
void Tune::read_results() { /* ...insert your values here... */ }
|
||||
|
||||
} // namespace Stockfish
|
||||
|
||||
Reference in New Issue
Block a user