Imported from https://github.com/N0vel/weighted-hausdorff-distance-tensorflow-keras-loss