add unary operator __neg__, test=develop (#21787)
adds unary operator __neg__ for VarBase in dygraph mode, and for Variable in static graph mode.
Showing
想要评论请 注册 或 登录
Fork自 PaddlePaddle / Paddle
adds unary operator __neg__ for VarBase in dygraph mode, and for Variable in static graph mode.