-
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
【Hackathon 6th No.11】为 Paddle 新增 bernoulli_ / log_normal_ / log_normal API #62934
【Hackathon 6th No.11】为 Paddle 新增 bernoulli_ / log_normal_ / log_normal API #62934
Conversation
你的PR提交成功,感谢你对开源项目的贡献! |
Sorry to inform you that e11bf89's CIs have passed for more than 7 days. To prevent PR conflicts, you need to re-run all CIs manually. |
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.
你这里的API设计文档呢?先描述一下计划的实现方式
check_variable_and_dtype(x, "x", ["float32", "float64"], "exponential") | ||
|
||
uniform_(x, min=0.0, max=1.0) | ||
return x.set_value((x < p).astype(x.dtype)) |
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.
不能用这种这种直接赋值的形式,这样会导致整个反向图无法构建,你可以用多个API/kernel来组合,或者直接新建一个kernel
PR types
New features
PR changes
APIs
Description
Working on