Created on 16 Aug 2016
路
3Comments
路
Source: pytorch/pytorch
Instead of overloading the multiplication operator to do both element-wise and matrix-multiplication it would be nicer and much safer to just support Python's matrix multiplication operator (see PEP 465, A @ B is the matrix product, A * B the element-wise product).
Most helpful comment
this is now fixed in master