3d hausdorff distance

I would like to compute the Hausdorff distance between two 3d tensors in pytorch using GPU’s

Do we have any inbuilt function or source code for Hausdorff distance between two 3d tensors