I think the authors of the repository will give you a better answer, but based on the code it seems the backward method was reimplemented for the negated cdist 86 method.
From the docs of cdist:

Computes batched the p-norm distance between each pair of the two collections of row vectors.

I’m not familiar with the implementation of the repository and would recommend to create an issue there.