├── .gitignore ├── .gitmodules ├── .travis.yml ├── AUTHORS ├── CMakeLists.txt ├── CONTRIBUTING.md ├── COPYING ├── Dockerfile ├── README.md ├── appveyor.yml ├── cmake └── Modules │ ├── CMakePushCheckState.cmake │ ├── CheckFortranFunctionExists.cmake │ ├── CheckFunctionExists.cmake │ ├── FindBLAS.cmake │ ├── FindOpenCL.cmake │ ├── FindPackageHandleStandardArgs.cmake │ └── FindPackageMessage.cmake ├── go └── src │ ├── client │ ├── README.md │ ├── http │ │ └── http.go │ └── main.go │ └── server │ ├── README.md │ ├── UPDATES │ ├── cmd │ ├── bootstrap │ │ └── main.go │ ├── compact_games │ │ └── main.go │ ├── compact_pgns │ │ └── main.go │ └── tweaks │ │ └── main.go │ ├── config │ └── config.go │ ├── db │ ├── db.go │ └── models.go │ ├── main.go │ ├── main_test.go │ ├── nginx │ └── default │ ├── prod.sh │ ├── public │ ├── css │ │ ├── bootstrap.min.css │ │ └── dashboard.css │ └── js │ │ ├── bootstrap.min.js │ │ ├── jquery-slim.min.js │ │ └── popper.min.js │ ├── serverconfig.json │ ├── start.sh │ └── templates │ ├── active_users.tmpl │ ├── base.tmpl │ ├── game.tmpl │ ├── index.tmpl │ ├── match.tmpl │ ├── matches.tmpl │ ├── networks.tmpl │ ├── stats.tmpl │ ├── training_data.tmpl │ ├── training_runs.tmpl │ └── user.tmpl ├── lc0 ├── .gitignore ├── LC0VSProj │ ├── LC0VSProj.sln │ └── LC0VSProj.vcxproj ├── README.md ├── build.sh ├── meson.build └── src │ ├── analyzer │ ├── analyzer.cc │ ├── analyzer.h │ ├── table.cc │ └── table.h │ ├── chess │ ├── bitboard.cc │ ├── bitboard.h │ ├── board.cc │ ├── board.h │ ├── board_test.cc │ ├── callbacks.h │ ├── position.cc │ ├── position.h │ ├── uciloop.cc │ └── uciloop.h │ ├── engine.cc │ ├── engine.h │ ├── main.cc │ ├── mcts │ ├── node.cc │ ├── node.h │ ├── search.cc │ └── search.h │ ├── neural │ ├── cache.cc │ ├── cache.h │ ├── encoder.cc │ ├── encoder.h │ ├── factory.cc │ ├── factory.h │ ├── loader.cc │ ├── loader.h │ ├── network.h │ ├── network_cudnn.cu │ ├── network_mux.cc │ ├── network_random.cc │ ├── network_tf.cc │ ├── writer.cc │ └── writer.h │ ├── selfplay │ ├── game.cc │ ├── game.h │ ├── loop.cc │ ├── loop.h │ ├── tournament.cc │ └── tournament.h │ └── utils │ ├── bititer.h │ ├── cache-old.h │ ├── cache.h │ ├── commandline.cc │ ├── commandline.h │ ├── cppattributes.h │ ├── exception.h │ ├── hashcat.h │ ├── hashcat_test.cc │ ├── mutex.h │ ├── optional.h │ ├── optionsdict.cc │ ├── optionsdict.h │ ├── optionsparser.cc │ ├── optionsparser.h │ ├── random.cc │ ├── random.h │ ├── smallarray.h │ ├── string.cc │ ├── string.h │ ├── transpose.cc │ └── transpose.h ├── msvc ├── .gitignore ├── VS2017 │ ├── leela-chess.vcxproj │ ├── leela-chess.vcxproj.filters │ └── packages.config └── leela-chess2017.sln ├── scripts ├── logos │ ├── README.md │ ├── logo-black-and-white.png │ ├── logo-black-and-white.svg │ ├── logo-black-background.png │ ├── logo-black-background.svg │ ├── logo-transparent-background.png │ └── logo-transparent-background.svg ├── resign_analysis │ └── resign_analysis.py ├── run.sh ├── stats │ └── netstats.py └── train.sh ├── src ├── Bitboard.cpp ├── Bitboard.h ├── CL │ └── cl2.hpp ├── Im2Col.h ├── Makefile ├── Misc.h ├── Movegen.cpp ├── Movegen.h ├── NNCache.cpp ├── NNCache.h ├── Network.cpp ├── Network.h ├── OpenCL.cpp ├── OpenCL.h ├── OpenCLScheduler.cpp ├── OpenCLScheduler.h ├── Parameters.cpp ├── Parameters.h ├── Position.cpp ├── Position.h ├── Random.cpp ├── Random.h ├── SMP.cpp ├── SMP.h ├── ThreadPool.h ├── TimeMan.cpp ├── TimeMan.h ├── Timing.cpp ├── Timing.h ├── Training.cpp ├── Training.h ├── Tuner.cpp ├── Tuner.h ├── Types.h ├── UCI.cpp ├── UCI.h ├── UCIOption.cpp ├── UCTNode.cpp ├── UCTNode.h ├── UCTSearch.cpp ├── UCTSearch.h ├── Utils.cpp ├── Utils.h ├── clblast_level3 │ ├── common.opencl │ ├── xgemm_batched.opencl │ ├── xgemm_part1.opencl │ ├── xgemm_part2.opencl │ ├── xgemm_part3.opencl │ └── xgemv.opencl ├── config.h ├── main.cpp ├── pgn.cpp ├── pgn.h ├── syzygy │ ├── tbprobe.cpp │ └── tbprobe.h ├── tests │ ├── network_test.cpp │ ├── perf_test.cpp │ ├── position_test.cpp │ └── random_test.cpp └── thread_win32.h └── training └── tf ├── chunkparser.py ├── configs └── example.yaml ├── decode_training.py ├── net_to_model.py ├── requirements.txt ├── shufflebuffer.py ├── start.sh ├── tfprocess.py └── train.py /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/glinscott/leela-chess/HEAD/.gitignore -------------------------------------------------------------------------------- /.gitmodules: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/glinscott/leela-chess/HEAD/.gitmodules -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/glinscott/leela-chess/HEAD/.travis.yml -------------------------------------------------------------------------------- /AUTHORS: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/glinscott/leela-chess/HEAD/AUTHORS -------------------------------------------------------------------------------- /CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/glinscott/leela-chess/HEAD/CMakeLists.txt -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/glinscott/leela-chess/HEAD/CONTRIBUTING.md -------------------------------------------------------------------------------- /COPYING: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/glinscott/leela-chess/HEAD/COPYING -------------------------------------------------------------------------------- /Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/glinscott/leela-chess/HEAD/Dockerfile -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/glinscott/leela-chess/HEAD/README.md -------------------------------------------------------------------------------- /appveyor.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/glinscott/leela-chess/HEAD/appveyor.yml -------------------------------------------------------------------------------- /cmake/Modules/CMakePushCheckState.cmake: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/glinscott/leela-chess/HEAD/cmake/Modules/CMakePushCheckState.cmake -------------------------------------------------------------------------------- /cmake/Modules/CheckFortranFunctionExists.cmake: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/glinscott/leela-chess/HEAD/cmake/Modules/CheckFortranFunctionExists.cmake -------------------------------------------------------------------------------- /cmake/Modules/CheckFunctionExists.cmake: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/glinscott/leela-chess/HEAD/cmake/Modules/CheckFunctionExists.cmake -------------------------------------------------------------------------------- /cmake/Modules/FindBLAS.cmake: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/glinscott/leela-chess/HEAD/cmake/Modules/FindBLAS.cmake -------------------------------------------------------------------------------- /cmake/Modules/FindOpenCL.cmake: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/glinscott/leela-chess/HEAD/cmake/Modules/FindOpenCL.cmake -------------------------------------------------------------------------------- /cmake/Modules/FindPackageHandleStandardArgs.cmake: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/glinscott/leela-chess/HEAD/cmake/Modules/FindPackageHandleStandardArgs.cmake -------------------------------------------------------------------------------- /cmake/Modules/FindPackageMessage.cmake: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/glinscott/leela-chess/HEAD/cmake/Modules/FindPackageMessage.cmake -------------------------------------------------------------------------------- /go/src/client/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/glinscott/leela-chess/HEAD/go/src/client/README.md -------------------------------------------------------------------------------- /go/src/client/http/http.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/glinscott/leela-chess/HEAD/go/src/client/http/http.go -------------------------------------------------------------------------------- /go/src/client/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/glinscott/leela-chess/HEAD/go/src/client/main.go -------------------------------------------------------------------------------- /go/src/server/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/glinscott/leela-chess/HEAD/go/src/server/README.md -------------------------------------------------------------------------------- /go/src/server/UPDATES: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/glinscott/leela-chess/HEAD/go/src/server/UPDATES -------------------------------------------------------------------------------- /go/src/server/cmd/bootstrap/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/glinscott/leela-chess/HEAD/go/src/server/cmd/bootstrap/main.go -------------------------------------------------------------------------------- /go/src/server/cmd/compact_games/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/glinscott/leela-chess/HEAD/go/src/server/cmd/compact_games/main.go -------------------------------------------------------------------------------- /go/src/server/cmd/compact_pgns/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/glinscott/leela-chess/HEAD/go/src/server/cmd/compact_pgns/main.go -------------------------------------------------------------------------------- /go/src/server/cmd/tweaks/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/glinscott/leela-chess/HEAD/go/src/server/cmd/tweaks/main.go -------------------------------------------------------------------------------- /go/src/server/config/config.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/glinscott/leela-chess/HEAD/go/src/server/config/config.go -------------------------------------------------------------------------------- /go/src/server/db/db.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/glinscott/leela-chess/HEAD/go/src/server/db/db.go -------------------------------------------------------------------------------- /go/src/server/db/models.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/glinscott/leela-chess/HEAD/go/src/server/db/models.go -------------------------------------------------------------------------------- /go/src/server/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/glinscott/leela-chess/HEAD/go/src/server/main.go -------------------------------------------------------------------------------- /go/src/server/main_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/glinscott/leela-chess/HEAD/go/src/server/main_test.go -------------------------------------------------------------------------------- /go/src/server/nginx/default: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/glinscott/leela-chess/HEAD/go/src/server/nginx/default -------------------------------------------------------------------------------- /go/src/server/prod.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/glinscott/leela-chess/HEAD/go/src/server/prod.sh -------------------------------------------------------------------------------- /go/src/server/public/css/bootstrap.min.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/glinscott/leela-chess/HEAD/go/src/server/public/css/bootstrap.min.css -------------------------------------------------------------------------------- /go/src/server/public/css/dashboard.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/glinscott/leela-chess/HEAD/go/src/server/public/css/dashboard.css -------------------------------------------------------------------------------- /go/src/server/public/js/bootstrap.min.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/glinscott/leela-chess/HEAD/go/src/server/public/js/bootstrap.min.js -------------------------------------------------------------------------------- /go/src/server/public/js/jquery-slim.min.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/glinscott/leela-chess/HEAD/go/src/server/public/js/jquery-slim.min.js -------------------------------------------------------------------------------- /go/src/server/public/js/popper.min.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/glinscott/leela-chess/HEAD/go/src/server/public/js/popper.min.js -------------------------------------------------------------------------------- /go/src/server/serverconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/glinscott/leela-chess/HEAD/go/src/server/serverconfig.json -------------------------------------------------------------------------------- /go/src/server/start.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/glinscott/leela-chess/HEAD/go/src/server/start.sh -------------------------------------------------------------------------------- /go/src/server/templates/active_users.tmpl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/glinscott/leela-chess/HEAD/go/src/server/templates/active_users.tmpl -------------------------------------------------------------------------------- /go/src/server/templates/base.tmpl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/glinscott/leela-chess/HEAD/go/src/server/templates/base.tmpl -------------------------------------------------------------------------------- /go/src/server/templates/game.tmpl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/glinscott/leela-chess/HEAD/go/src/server/templates/game.tmpl -------------------------------------------------------------------------------- /go/src/server/templates/index.tmpl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/glinscott/leela-chess/HEAD/go/src/server/templates/index.tmpl -------------------------------------------------------------------------------- /go/src/server/templates/match.tmpl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/glinscott/leela-chess/HEAD/go/src/server/templates/match.tmpl -------------------------------------------------------------------------------- /go/src/server/templates/matches.tmpl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/glinscott/leela-chess/HEAD/go/src/server/templates/matches.tmpl -------------------------------------------------------------------------------- /go/src/server/templates/networks.tmpl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/glinscott/leela-chess/HEAD/go/src/server/templates/networks.tmpl -------------------------------------------------------------------------------- /go/src/server/templates/stats.tmpl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/glinscott/leela-chess/HEAD/go/src/server/templates/stats.tmpl -------------------------------------------------------------------------------- /go/src/server/templates/training_data.tmpl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/glinscott/leela-chess/HEAD/go/src/server/templates/training_data.tmpl -------------------------------------------------------------------------------- /go/src/server/templates/training_runs.tmpl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/glinscott/leela-chess/HEAD/go/src/server/templates/training_runs.tmpl -------------------------------------------------------------------------------- /go/src/server/templates/user.tmpl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/glinscott/leela-chess/HEAD/go/src/server/templates/user.tmpl -------------------------------------------------------------------------------- /lc0/.gitignore: -------------------------------------------------------------------------------- 1 | build/ 2 | testdata/ 3 | LC0VSProj/ 4 | CUDA_NN/ 5 | -------------------------------------------------------------------------------- /lc0/LC0VSProj/LC0VSProj.sln: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/glinscott/leela-chess/HEAD/lc0/LC0VSProj/LC0VSProj.sln -------------------------------------------------------------------------------- /lc0/LC0VSProj/LC0VSProj.vcxproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/glinscott/leela-chess/HEAD/lc0/LC0VSProj/LC0VSProj.vcxproj -------------------------------------------------------------------------------- /lc0/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/glinscott/leela-chess/HEAD/lc0/README.md -------------------------------------------------------------------------------- /lc0/build.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/glinscott/leela-chess/HEAD/lc0/build.sh -------------------------------------------------------------------------------- /lc0/meson.build: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/glinscott/leela-chess/HEAD/lc0/meson.build -------------------------------------------------------------------------------- /lc0/src/analyzer/analyzer.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/glinscott/leela-chess/HEAD/lc0/src/analyzer/analyzer.cc -------------------------------------------------------------------------------- /lc0/src/analyzer/analyzer.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/glinscott/leela-chess/HEAD/lc0/src/analyzer/analyzer.h -------------------------------------------------------------------------------- /lc0/src/analyzer/table.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/glinscott/leela-chess/HEAD/lc0/src/analyzer/table.cc -------------------------------------------------------------------------------- /lc0/src/analyzer/table.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/glinscott/leela-chess/HEAD/lc0/src/analyzer/table.h -------------------------------------------------------------------------------- /lc0/src/chess/bitboard.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/glinscott/leela-chess/HEAD/lc0/src/chess/bitboard.cc -------------------------------------------------------------------------------- /lc0/src/chess/bitboard.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/glinscott/leela-chess/HEAD/lc0/src/chess/bitboard.h -------------------------------------------------------------------------------- /lc0/src/chess/board.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/glinscott/leela-chess/HEAD/lc0/src/chess/board.cc -------------------------------------------------------------------------------- /lc0/src/chess/board.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/glinscott/leela-chess/HEAD/lc0/src/chess/board.h -------------------------------------------------------------------------------- /lc0/src/chess/board_test.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/glinscott/leela-chess/HEAD/lc0/src/chess/board_test.cc -------------------------------------------------------------------------------- /lc0/src/chess/callbacks.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/glinscott/leela-chess/HEAD/lc0/src/chess/callbacks.h -------------------------------------------------------------------------------- /lc0/src/chess/position.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/glinscott/leela-chess/HEAD/lc0/src/chess/position.cc -------------------------------------------------------------------------------- /lc0/src/chess/position.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/glinscott/leela-chess/HEAD/lc0/src/chess/position.h -------------------------------------------------------------------------------- /lc0/src/chess/uciloop.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/glinscott/leela-chess/HEAD/lc0/src/chess/uciloop.cc -------------------------------------------------------------------------------- /lc0/src/chess/uciloop.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/glinscott/leela-chess/HEAD/lc0/src/chess/uciloop.h -------------------------------------------------------------------------------- /lc0/src/engine.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/glinscott/leela-chess/HEAD/lc0/src/engine.cc -------------------------------------------------------------------------------- /lc0/src/engine.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/glinscott/leela-chess/HEAD/lc0/src/engine.h -------------------------------------------------------------------------------- /lc0/src/main.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/glinscott/leela-chess/HEAD/lc0/src/main.cc -------------------------------------------------------------------------------- /lc0/src/mcts/node.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/glinscott/leela-chess/HEAD/lc0/src/mcts/node.cc -------------------------------------------------------------------------------- /lc0/src/mcts/node.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/glinscott/leela-chess/HEAD/lc0/src/mcts/node.h -------------------------------------------------------------------------------- /lc0/src/mcts/search.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/glinscott/leela-chess/HEAD/lc0/src/mcts/search.cc -------------------------------------------------------------------------------- /lc0/src/mcts/search.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/glinscott/leela-chess/HEAD/lc0/src/mcts/search.h -------------------------------------------------------------------------------- /lc0/src/neural/cache.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/glinscott/leela-chess/HEAD/lc0/src/neural/cache.cc -------------------------------------------------------------------------------- /lc0/src/neural/cache.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/glinscott/leela-chess/HEAD/lc0/src/neural/cache.h -------------------------------------------------------------------------------- /lc0/src/neural/encoder.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/glinscott/leela-chess/HEAD/lc0/src/neural/encoder.cc -------------------------------------------------------------------------------- /lc0/src/neural/encoder.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/glinscott/leela-chess/HEAD/lc0/src/neural/encoder.h -------------------------------------------------------------------------------- /lc0/src/neural/factory.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/glinscott/leela-chess/HEAD/lc0/src/neural/factory.cc -------------------------------------------------------------------------------- /lc0/src/neural/factory.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/glinscott/leela-chess/HEAD/lc0/src/neural/factory.h -------------------------------------------------------------------------------- /lc0/src/neural/loader.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/glinscott/leela-chess/HEAD/lc0/src/neural/loader.cc -------------------------------------------------------------------------------- /lc0/src/neural/loader.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/glinscott/leela-chess/HEAD/lc0/src/neural/loader.h -------------------------------------------------------------------------------- /lc0/src/neural/network.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/glinscott/leela-chess/HEAD/lc0/src/neural/network.h -------------------------------------------------------------------------------- /lc0/src/neural/network_cudnn.cu: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/glinscott/leela-chess/HEAD/lc0/src/neural/network_cudnn.cu -------------------------------------------------------------------------------- /lc0/src/neural/network_mux.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/glinscott/leela-chess/HEAD/lc0/src/neural/network_mux.cc -------------------------------------------------------------------------------- /lc0/src/neural/network_random.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/glinscott/leela-chess/HEAD/lc0/src/neural/network_random.cc -------------------------------------------------------------------------------- /lc0/src/neural/network_tf.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/glinscott/leela-chess/HEAD/lc0/src/neural/network_tf.cc -------------------------------------------------------------------------------- /lc0/src/neural/writer.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/glinscott/leela-chess/HEAD/lc0/src/neural/writer.cc -------------------------------------------------------------------------------- /lc0/src/neural/writer.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/glinscott/leela-chess/HEAD/lc0/src/neural/writer.h -------------------------------------------------------------------------------- /lc0/src/selfplay/game.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/glinscott/leela-chess/HEAD/lc0/src/selfplay/game.cc -------------------------------------------------------------------------------- /lc0/src/selfplay/game.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/glinscott/leela-chess/HEAD/lc0/src/selfplay/game.h -------------------------------------------------------------------------------- /lc0/src/selfplay/loop.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/glinscott/leela-chess/HEAD/lc0/src/selfplay/loop.cc -------------------------------------------------------------------------------- /lc0/src/selfplay/loop.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/glinscott/leela-chess/HEAD/lc0/src/selfplay/loop.h -------------------------------------------------------------------------------- /lc0/src/selfplay/tournament.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/glinscott/leela-chess/HEAD/lc0/src/selfplay/tournament.cc -------------------------------------------------------------------------------- /lc0/src/selfplay/tournament.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/glinscott/leela-chess/HEAD/lc0/src/selfplay/tournament.h -------------------------------------------------------------------------------- /lc0/src/utils/bititer.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/glinscott/leela-chess/HEAD/lc0/src/utils/bititer.h -------------------------------------------------------------------------------- /lc0/src/utils/cache-old.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/glinscott/leela-chess/HEAD/lc0/src/utils/cache-old.h -------------------------------------------------------------------------------- /lc0/src/utils/cache.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/glinscott/leela-chess/HEAD/lc0/src/utils/cache.h -------------------------------------------------------------------------------- /lc0/src/utils/commandline.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/glinscott/leela-chess/HEAD/lc0/src/utils/commandline.cc -------------------------------------------------------------------------------- /lc0/src/utils/commandline.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/glinscott/leela-chess/HEAD/lc0/src/utils/commandline.h -------------------------------------------------------------------------------- /lc0/src/utils/cppattributes.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/glinscott/leela-chess/HEAD/lc0/src/utils/cppattributes.h -------------------------------------------------------------------------------- /lc0/src/utils/exception.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/glinscott/leela-chess/HEAD/lc0/src/utils/exception.h -------------------------------------------------------------------------------- /lc0/src/utils/hashcat.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/glinscott/leela-chess/HEAD/lc0/src/utils/hashcat.h -------------------------------------------------------------------------------- /lc0/src/utils/hashcat_test.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/glinscott/leela-chess/HEAD/lc0/src/utils/hashcat_test.cc -------------------------------------------------------------------------------- /lc0/src/utils/mutex.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/glinscott/leela-chess/HEAD/lc0/src/utils/mutex.h -------------------------------------------------------------------------------- /lc0/src/utils/optional.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/glinscott/leela-chess/HEAD/lc0/src/utils/optional.h -------------------------------------------------------------------------------- /lc0/src/utils/optionsdict.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/glinscott/leela-chess/HEAD/lc0/src/utils/optionsdict.cc -------------------------------------------------------------------------------- /lc0/src/utils/optionsdict.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/glinscott/leela-chess/HEAD/lc0/src/utils/optionsdict.h -------------------------------------------------------------------------------- /lc0/src/utils/optionsparser.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/glinscott/leela-chess/HEAD/lc0/src/utils/optionsparser.cc -------------------------------------------------------------------------------- /lc0/src/utils/optionsparser.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/glinscott/leela-chess/HEAD/lc0/src/utils/optionsparser.h -------------------------------------------------------------------------------- /lc0/src/utils/random.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/glinscott/leela-chess/HEAD/lc0/src/utils/random.cc -------------------------------------------------------------------------------- /lc0/src/utils/random.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/glinscott/leela-chess/HEAD/lc0/src/utils/random.h -------------------------------------------------------------------------------- /lc0/src/utils/smallarray.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/glinscott/leela-chess/HEAD/lc0/src/utils/smallarray.h -------------------------------------------------------------------------------- /lc0/src/utils/string.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/glinscott/leela-chess/HEAD/lc0/src/utils/string.cc -------------------------------------------------------------------------------- /lc0/src/utils/string.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/glinscott/leela-chess/HEAD/lc0/src/utils/string.h -------------------------------------------------------------------------------- /lc0/src/utils/transpose.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/glinscott/leela-chess/HEAD/lc0/src/utils/transpose.cc -------------------------------------------------------------------------------- /lc0/src/utils/transpose.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/glinscott/leela-chess/HEAD/lc0/src/utils/transpose.h -------------------------------------------------------------------------------- /msvc/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/glinscott/leela-chess/HEAD/msvc/.gitignore -------------------------------------------------------------------------------- /msvc/VS2017/leela-chess.vcxproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/glinscott/leela-chess/HEAD/msvc/VS2017/leela-chess.vcxproj -------------------------------------------------------------------------------- /msvc/VS2017/leela-chess.vcxproj.filters: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/glinscott/leela-chess/HEAD/msvc/VS2017/leela-chess.vcxproj.filters -------------------------------------------------------------------------------- /msvc/VS2017/packages.config: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/glinscott/leela-chess/HEAD/msvc/VS2017/packages.config -------------------------------------------------------------------------------- /msvc/leela-chess2017.sln: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/glinscott/leela-chess/HEAD/msvc/leela-chess2017.sln -------------------------------------------------------------------------------- /scripts/logos/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/glinscott/leela-chess/HEAD/scripts/logos/README.md -------------------------------------------------------------------------------- /scripts/logos/logo-black-and-white.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/glinscott/leela-chess/HEAD/scripts/logos/logo-black-and-white.png -------------------------------------------------------------------------------- /scripts/logos/logo-black-and-white.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/glinscott/leela-chess/HEAD/scripts/logos/logo-black-and-white.svg -------------------------------------------------------------------------------- /scripts/logos/logo-black-background.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/glinscott/leela-chess/HEAD/scripts/logos/logo-black-background.png -------------------------------------------------------------------------------- /scripts/logos/logo-black-background.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/glinscott/leela-chess/HEAD/scripts/logos/logo-black-background.svg -------------------------------------------------------------------------------- /scripts/logos/logo-transparent-background.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/glinscott/leela-chess/HEAD/scripts/logos/logo-transparent-background.png -------------------------------------------------------------------------------- /scripts/logos/logo-transparent-background.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/glinscott/leela-chess/HEAD/scripts/logos/logo-transparent-background.svg -------------------------------------------------------------------------------- /scripts/resign_analysis/resign_analysis.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/glinscott/leela-chess/HEAD/scripts/resign_analysis/resign_analysis.py -------------------------------------------------------------------------------- /scripts/run.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/glinscott/leela-chess/HEAD/scripts/run.sh -------------------------------------------------------------------------------- /scripts/stats/netstats.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/glinscott/leela-chess/HEAD/scripts/stats/netstats.py -------------------------------------------------------------------------------- /scripts/train.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/glinscott/leela-chess/HEAD/scripts/train.sh -------------------------------------------------------------------------------- /src/Bitboard.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/glinscott/leela-chess/HEAD/src/Bitboard.cpp -------------------------------------------------------------------------------- /src/Bitboard.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/glinscott/leela-chess/HEAD/src/Bitboard.h -------------------------------------------------------------------------------- /src/CL/cl2.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/glinscott/leela-chess/HEAD/src/CL/cl2.hpp -------------------------------------------------------------------------------- /src/Im2Col.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/glinscott/leela-chess/HEAD/src/Im2Col.h -------------------------------------------------------------------------------- /src/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/glinscott/leela-chess/HEAD/src/Makefile -------------------------------------------------------------------------------- /src/Misc.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/glinscott/leela-chess/HEAD/src/Misc.h -------------------------------------------------------------------------------- /src/Movegen.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/glinscott/leela-chess/HEAD/src/Movegen.cpp -------------------------------------------------------------------------------- /src/Movegen.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/glinscott/leela-chess/HEAD/src/Movegen.h -------------------------------------------------------------------------------- /src/NNCache.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/glinscott/leela-chess/HEAD/src/NNCache.cpp -------------------------------------------------------------------------------- /src/NNCache.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/glinscott/leela-chess/HEAD/src/NNCache.h -------------------------------------------------------------------------------- /src/Network.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/glinscott/leela-chess/HEAD/src/Network.cpp -------------------------------------------------------------------------------- /src/Network.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/glinscott/leela-chess/HEAD/src/Network.h -------------------------------------------------------------------------------- /src/OpenCL.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/glinscott/leela-chess/HEAD/src/OpenCL.cpp -------------------------------------------------------------------------------- /src/OpenCL.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/glinscott/leela-chess/HEAD/src/OpenCL.h -------------------------------------------------------------------------------- /src/OpenCLScheduler.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/glinscott/leela-chess/HEAD/src/OpenCLScheduler.cpp -------------------------------------------------------------------------------- /src/OpenCLScheduler.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/glinscott/leela-chess/HEAD/src/OpenCLScheduler.h -------------------------------------------------------------------------------- /src/Parameters.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/glinscott/leela-chess/HEAD/src/Parameters.cpp -------------------------------------------------------------------------------- /src/Parameters.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/glinscott/leela-chess/HEAD/src/Parameters.h -------------------------------------------------------------------------------- /src/Position.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/glinscott/leela-chess/HEAD/src/Position.cpp -------------------------------------------------------------------------------- /src/Position.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/glinscott/leela-chess/HEAD/src/Position.h -------------------------------------------------------------------------------- /src/Random.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/glinscott/leela-chess/HEAD/src/Random.cpp -------------------------------------------------------------------------------- /src/Random.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/glinscott/leela-chess/HEAD/src/Random.h -------------------------------------------------------------------------------- /src/SMP.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/glinscott/leela-chess/HEAD/src/SMP.cpp -------------------------------------------------------------------------------- /src/SMP.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/glinscott/leela-chess/HEAD/src/SMP.h -------------------------------------------------------------------------------- /src/ThreadPool.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/glinscott/leela-chess/HEAD/src/ThreadPool.h -------------------------------------------------------------------------------- /src/TimeMan.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/glinscott/leela-chess/HEAD/src/TimeMan.cpp -------------------------------------------------------------------------------- /src/TimeMan.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/glinscott/leela-chess/HEAD/src/TimeMan.h -------------------------------------------------------------------------------- /src/Timing.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/glinscott/leela-chess/HEAD/src/Timing.cpp -------------------------------------------------------------------------------- /src/Timing.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/glinscott/leela-chess/HEAD/src/Timing.h -------------------------------------------------------------------------------- /src/Training.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/glinscott/leela-chess/HEAD/src/Training.cpp -------------------------------------------------------------------------------- /src/Training.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/glinscott/leela-chess/HEAD/src/Training.h -------------------------------------------------------------------------------- /src/Tuner.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/glinscott/leela-chess/HEAD/src/Tuner.cpp -------------------------------------------------------------------------------- /src/Tuner.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/glinscott/leela-chess/HEAD/src/Tuner.h -------------------------------------------------------------------------------- /src/Types.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/glinscott/leela-chess/HEAD/src/Types.h -------------------------------------------------------------------------------- /src/UCI.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/glinscott/leela-chess/HEAD/src/UCI.cpp -------------------------------------------------------------------------------- /src/UCI.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/glinscott/leela-chess/HEAD/src/UCI.h -------------------------------------------------------------------------------- /src/UCIOption.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/glinscott/leela-chess/HEAD/src/UCIOption.cpp -------------------------------------------------------------------------------- /src/UCTNode.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/glinscott/leela-chess/HEAD/src/UCTNode.cpp -------------------------------------------------------------------------------- /src/UCTNode.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/glinscott/leela-chess/HEAD/src/UCTNode.h -------------------------------------------------------------------------------- /src/UCTSearch.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/glinscott/leela-chess/HEAD/src/UCTSearch.cpp -------------------------------------------------------------------------------- /src/UCTSearch.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/glinscott/leela-chess/HEAD/src/UCTSearch.h -------------------------------------------------------------------------------- /src/Utils.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/glinscott/leela-chess/HEAD/src/Utils.cpp -------------------------------------------------------------------------------- /src/Utils.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/glinscott/leela-chess/HEAD/src/Utils.h -------------------------------------------------------------------------------- /src/clblast_level3/common.opencl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/glinscott/leela-chess/HEAD/src/clblast_level3/common.opencl -------------------------------------------------------------------------------- /src/clblast_level3/xgemm_batched.opencl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/glinscott/leela-chess/HEAD/src/clblast_level3/xgemm_batched.opencl -------------------------------------------------------------------------------- /src/clblast_level3/xgemm_part1.opencl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/glinscott/leela-chess/HEAD/src/clblast_level3/xgemm_part1.opencl -------------------------------------------------------------------------------- /src/clblast_level3/xgemm_part2.opencl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/glinscott/leela-chess/HEAD/src/clblast_level3/xgemm_part2.opencl -------------------------------------------------------------------------------- /src/clblast_level3/xgemm_part3.opencl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/glinscott/leela-chess/HEAD/src/clblast_level3/xgemm_part3.opencl -------------------------------------------------------------------------------- /src/clblast_level3/xgemv.opencl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/glinscott/leela-chess/HEAD/src/clblast_level3/xgemv.opencl -------------------------------------------------------------------------------- /src/config.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/glinscott/leela-chess/HEAD/src/config.h -------------------------------------------------------------------------------- /src/main.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/glinscott/leela-chess/HEAD/src/main.cpp -------------------------------------------------------------------------------- /src/pgn.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/glinscott/leela-chess/HEAD/src/pgn.cpp -------------------------------------------------------------------------------- /src/pgn.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/glinscott/leela-chess/HEAD/src/pgn.h -------------------------------------------------------------------------------- /src/syzygy/tbprobe.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/glinscott/leela-chess/HEAD/src/syzygy/tbprobe.cpp -------------------------------------------------------------------------------- /src/syzygy/tbprobe.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/glinscott/leela-chess/HEAD/src/syzygy/tbprobe.h -------------------------------------------------------------------------------- /src/tests/network_test.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/glinscott/leela-chess/HEAD/src/tests/network_test.cpp -------------------------------------------------------------------------------- /src/tests/perf_test.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/glinscott/leela-chess/HEAD/src/tests/perf_test.cpp -------------------------------------------------------------------------------- /src/tests/position_test.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/glinscott/leela-chess/HEAD/src/tests/position_test.cpp -------------------------------------------------------------------------------- /src/tests/random_test.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/glinscott/leela-chess/HEAD/src/tests/random_test.cpp -------------------------------------------------------------------------------- /src/thread_win32.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/glinscott/leela-chess/HEAD/src/thread_win32.h -------------------------------------------------------------------------------- /training/tf/chunkparser.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/glinscott/leela-chess/HEAD/training/tf/chunkparser.py -------------------------------------------------------------------------------- /training/tf/configs/example.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/glinscott/leela-chess/HEAD/training/tf/configs/example.yaml -------------------------------------------------------------------------------- /training/tf/decode_training.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/glinscott/leela-chess/HEAD/training/tf/decode_training.py -------------------------------------------------------------------------------- /training/tf/net_to_model.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/glinscott/leela-chess/HEAD/training/tf/net_to_model.py -------------------------------------------------------------------------------- /training/tf/requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/glinscott/leela-chess/HEAD/training/tf/requirements.txt -------------------------------------------------------------------------------- /training/tf/shufflebuffer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/glinscott/leela-chess/HEAD/training/tf/shufflebuffer.py -------------------------------------------------------------------------------- /training/tf/start.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/glinscott/leela-chess/HEAD/training/tf/start.sh -------------------------------------------------------------------------------- /training/tf/tfprocess.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/glinscott/leela-chess/HEAD/training/tf/tfprocess.py -------------------------------------------------------------------------------- /training/tf/train.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/glinscott/leela-chess/HEAD/training/tf/train.py --------------------------------------------------------------------------------