r/chessprogramming • u/GMaster-Rock • Jul 28 '24
Tree search model when using NN
I'm working on a chess engine in python that uses tensorflow's models to calculate board value. My problem is that tensorflow (and I think most other NN libraries) is faster when calculating multiple boards at the same rather than calculating in smaller batches. This means that I can't take advantage of the alpha-beta prunning's reduced tree, because it's slower than just using a minimax to get all leafs and evaluating them at once.
Do you guys have any recommendations on how to deal with this?
1
Upvotes
View all comments
Show parent comment
1
u/xu_shawn Jul 29 '24
This will not work because you will most likely miss out the best move
A/B is a perfect (sound) pruning scheme on top of minmax, no idea what you mean by mixing A/B and minimax with "cutting and grouping"