Hamming Distance Module Interface torchmetrics.HammingDistance Functional Interface torchmetrics.functional.hamming_distance