File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed
Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -70,14 +70,20 @@ for args in "eval" \
7070 " go depth 10" \
7171 " go movetime 1000" \
7272 " go wtime 8000 btime 8000 winc 500 binc 500" \
73- " bench 128 $threads 8 default depth"
73+ " bench 128 $threads 8 default depth" \
74+ " export_net verify.nnue"
7475do
7576
7677 echo " $prefix $exeprefix ./stockfish $args $postfix "
7778 eval " $prefix $exeprefix ./stockfish $args $postfix "
7879
7980done
8081
82+ # verify the generated net equals the base net
83+ network=` ./stockfish uci | grep ' option name EvalFile type string default' | awk ' {print $NF}' `
84+ echo " Comparing $network to the written verify.nnue"
85+ diff $network verify.nnue
86+
8187# more general testing, following an uci protocol exchange
8288cat << EOF > game.exp
8389 set timeout 240
You can’t perform that action at this time.
0 commit comments