oneflow icon indicating copy to clipboard operation
oneflow copied to clipboard

Add pairwise_distance api

Open marigoold opened this issue 3 years ago • 0 comments

背景:https://github.com/Oneflow-Inc/oneflow/issues/8841 问题概述:缺少 pairwise_distance 算子 实现:Functor 层调用 norm(x1 - x2, p=p)

torch实现:https://github.com/pytorch/pytorch/blob/6a09847c42bf7d33ba0aea5b083eebd846661ce1/aten/src/ATen/native/Distance.cpp#L16-L23

marigoold avatar Aug 11 '22 09:08 marigoold