Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
approbatory
· 11y ago · 0 comments
In the comparison with torch you are translating x:dot(y) as x * y, but it should be x.t() * y
Comments
[–]
pathsjs
11y ago
No, it is right like that. In linalg, * on vectors is the scalar product. I have designed linalg to agree with mathematical conventions, rather than numpy conventions.