-
Notifications
You must be signed in to change notification settings - Fork 5.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
【Prim】Add multiply,expand,div vjp rules #49831
Conversation
你的PR提交成功,感谢你对开源项目的贡献! |
24ea6b7
to
7415a85
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
one comments
// Reduced axes | ||
for (std::size_t i = 0; i < src_shape.size(); i++) { | ||
if (src_shape[i] == 1 && dst_shape[i] > 1) { | ||
result.push_back(i); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This may be miss some case if x, y has 1 as extra rank
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
2c79d11
to
ca30b38
Compare
ca30b38
to
bbe3480
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
PR types
Others
PR changes
Others
Describe