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.
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 4th No.11】 为 paddle 添加 Geometric Distribution API #51224
【Hackathon 4th No.11】 为 paddle 添加 Geometric Distribution API #51224
Changes from 35 commits
fa3b3fd
921cefa
9b5fc87
f73282c
738032f
0fa3635
7c3161b
3bde0b4
ee02925
5c9f43d
31a40cf
48a6414
1eaf47a
4b15204
1b5299a
a339855
1dc341d
21a8f94
4b95595
416efb6
ff02b3d
539abe8
4aae74f
931b12e
029e3ce
be8c276
b2de934
06d05d5
16b02f3
449b6cf
d05fe29
9f1ac44
7439580
c3cdd69
8c9dfc6
c8137f2
0482646
5b81edb
d431496
8198dbf
439d401
08f570a
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
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.
加一下返回(returns)的描述
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.
如果标量,此处full应该创建为零维Tensor,
paddle.full(shape=(), fill_value=probs, dtype=paddle.float32)
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.
代码部分统一再往后缩进,否则无法解析出代码
![image](https://user-images.githubusercontent.com/70642955/234792559-9a86730f-e9b4-4a9b-a99e-cffe1fc66928.png)
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.
同上