torch.nn.functional.pairwise_distance¶ torch.nn.functional.pairwise_distance(x1, x2, p=2.0, eps=1e-6, keepdim=False) → Tensor¶ 有关详细信息,请参阅 torch.nn.PairwiseDistance