423 Star 4.3K Fork 424

GVPPaddlePaddle / Paddle

 / 详情

paddle.addmm存在bug

Done
Opened this issue  
2021-10-09 14:45

源自github用户Legend997:
out = alpha ∗ x ∗ y + beta ∗ input 此公式错误

应为 2 * alpha * x * y + beta * input

image

Comments (4)

Expand operation logs

源自github用户Legend997:

没有吧,有参考来源吗?

看截图呀

源自github用户MissPenguin:
截图里的结果是对的啊,有什么问题吗。

out = alpha ∗ x ∗ y + beta ∗ input 这个公式在paddle和torch的api文档中定义都是一致的哈,可以自己查阅下:
https://www.paddlepaddle.org.cn/documentation/docs/zh/2.0/api/paddle/tensor/math/addmm_cn.html#cn-api-tensor-addmm
https://pytorch.org/docs/master/generated/torch.addmm.html

源自github用户Legend997:

截图里的结果是对的啊,有什么问题吗。

out = alpha ∗ x ∗ y + beta ∗ input 这个公式在paddle和torch的api文档中定义都是一致的哈,可以自己查阅下: https://www.paddlepaddle.org.cn/documentation/docs/zh/2.0/api/paddle/tensor/math/addmm_cn.html#cn-api-tensor-addmm https://pytorch.org/docs/master/generated/torch.addmm.html

哦哦 我傻了。。。对不起对不起

PaddlePaddle-Coordinator changed issue state from 待办的 to 已完成

Sign in to comment

Status
Assignees
Milestones
Pull Requests
Successfully merging a pull request will close this issue.
Branches
Planed to start   -   Planed to end
-
Top level
Priority
参与者(1)
Python
1
https://gitee.com/paddlepaddle/Paddle.git
git@gitee.com:paddlepaddle/Paddle.git
paddlepaddle
Paddle
Paddle

Search