3 ms·
In the comparison with torch you are translating x:dot(y) as x * y, but it should be x.t() * y
by approbatory 11y ago
In the comparison with torch you are translating x:dot(y) as x * y, but it should be x.t() * y
- pathsjs 11y agoNo, 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.