-
Notifications
You must be signed in to change notification settings - Fork 5.7k
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
【PaddlePaddle Hackathon 3 No.12】为 Paddle 新增 pairwise_distance #44161
Merged
iclementine
merged 10 commits into
PaddlePaddle:develop
from
cattidea:api_for_pairwise_distance
Jul 29, 2022
Merged
Changes from all commits
Commits
Show all changes
10 commits
Select commit
Hold shift + click to select a range
1b7613f
add paddle.nn.functional.pairwise_distance (cattidea/Paddle#273)
Ainavo 515df56
fix wrong variable name
SigureMo 2c64711
加传统动态图
Ainavo 5da6d36
引入paddle.fluid.framework
Ainavo 27ebf80
删除无用的导入
Ainavo 57cec0c
remove the test case for undefined behavior
SigureMo 5bfe9de
refine docs
SigureMo 504a3b6
Merge branch 'develop' into api_for_pairwise_distance
SigureMo a523910
Merge remote-tracking branch 'upstream/develop' into api_for_pairwise…
SigureMo 34a2575
remove a blank line
SigureMo File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
截图来自 PR-CI-APPROVAL
这里利用 _enable_legacy_dygraph 开启 legacy 动态图的原因是原来的 PairwiseDistance(class API)是包含 legacy 动态图代码的,如果不添加相关测试的话,Coverage CI 过不了,因此利用该 API 添加了相关测试,如果该逻辑不再推荐添加的话,我们会删去相关逻辑,并删去相关测试代码
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.
这个到时可以让对应的同学 approve 就好。目前还不能删掉这个逻辑。
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.
好哒~明白~