Wow, great paper! Thank you for making the code OSS.
The documentation says that the Python wrapper is not suitable for parallel execution:
The wrapper is not suited for concurrent execution. It uses a global variable for the distance callback function, so calling emd from concurrent threads will result in undefined behavior.
However, the function get_wmd calls emd concurrently. Can you please explain?
Wow, great paper! Thank you for making the code OSS.
The documentation says that the Python wrapper is not suitable for parallel execution:
However, the function
get_wmd
callsemd
concurrently. Can you please explain?