You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
the costs of calling the Python C-API seem to outweigh all time savings of implementing chess functionality in C
therefore it might not make a lot of sense to expose the C code to Python at this fine-grained level anymore
Suggested Solution:
re-think the API interface such that it still makes sense to expose the lib to Python
consider options for generating larger training batches, e.g. play whole games with a single function call, add preprocessing to retain valid training batches right away
even think of implementing the whole AI in C/C++ via the TensorFlow C/C++ API
The text was updated successfully, but these errors were encountered:
Bonifatius94
changed the title
Optimize for Performance
Optimize Python Interface for Performance
Apr 21, 2022
Issue:
Suggested Solution:
The text was updated successfully, but these errors were encountered: