Closed matthias-samwald closed 6 years ago
def distance(u, v): uu = v.norm(dim=1)**2 vv = v.norm(dim=1)**2 uv = u.mm(v.t())`
Should this not read "uu = u.norm(..."?
Thank you, I will further look into it when I have free time, don't hesitate to do a PR if you manage to make it work.
Should this not read "uu = u.norm(..."?