-
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
【Hackathon 5th No.17】 为 Paddle 新增 pdist API -part #57869
Merged
+166
−1
Merged
Changes from 1 commit
Commits
Show all changes
26 commits
Select commit
Hold shift + click to select a range
3e19c90
add pdist api
cocoshe 51b908a
move pdist to nn.functional, expose paddle.pdist api
cocoshe ced239c
clean
cocoshe 9c651d9
clean
cocoshe 13d04ad
fix codestyle
cocoshe 8bcbe47
fix conflict
cocoshe 212bdf7
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into…
cocoshe 7bbc22e
remove compute_mode
cocoshe 20f82de
for api name rules
cocoshe b06dd06
Merge branch 'develop' into pdist_coco_dev
cocoshe 2e259a6
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into…
cocoshe e9dfa5a
Update test_pdist.py
cocoshe cddec3b
Merge branch 'pdist_coco_dev' of https://github.com/cocoshe/Paddle in…
cocoshe 23d5f7e
add seed
cocoshe 3a9fbfb
fix code sample
cocoshe e41f9dc
Merge branch 'pdist_coco_dev' of https://github.com/cocoshe/Paddle in…
cocoshe 008ae5b
fix doc
cocoshe 114453a
Update distance.py
cocoshe 171339d
gpu0 to cpu in api doc
cocoshe 8a281b4
gpu0 to cpu in api doc
cocoshe a9d053c
remove pdist in nn.functional __all__ list
cocoshe b3816df
Merge branch 'develop' into pdist_coco_dev
cocoshe 3f7b607
Update __init__.py
cocoshe e3e5abf
fix en doc
cocoshe 8172f28
Update python/paddle/nn/functional/distance.py
cocoshe 0146a37
Update python/paddle/nn/functional/distance.py
cocoshe 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
Update distance.py
commit 114453a6b7afc071ebf6c08a58d626e3a2d1856e
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
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.
doc中给出seed,不然PR-CI-Static-Check过不了
参考:
Paddle/python/paddle/tensor/linalg.py
Line 764 in 855e51e
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.
现在添加了,但是好像没作用嘛?
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.
添加了seed之后,你的print的结果也会有变化,这块的输出你可以参考报错的内容
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.
明白了,稍后修改~