Torch Lua: Why is my gradient descent not optimizing the error?
snippet in lua

Torch Lua: Why is my gradient descent not optimizing the error?

user5731

C(u,v) = cosine(u, v) = (u / |u|) x (v / |v|)