You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is a new infix operator from Python 3.5, it's recommended by Python in math library.
numpy ndarray support this operator.
x2=ad.Variable(name="x2")
x3=ad.Variable(name="x3")
# y = ad.matmul_op(x2, x3)y=x2 @ x2
Incompatible change, maybe better for next term.
The text was updated successfully, but these errors were encountered:
TennyZhuang
changed the title
Implement __matmul__ builtin magic method instead of matmul_op
Implement __matmul__ builtin magic method instead of calling matmul_op directly
Aug 22, 2017
about
__matmul__
,__rmatmul__
, see PEP 465similar to
Node.__add__
andNode.__mul__
This is a new infix operator from Python 3.5, it's recommended by Python in math library.
numpy ndarray support this operator.
Incompatible change, maybe better for next term.
The text was updated successfully, but these errors were encountered: