Skip to content
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

【PIR API adaptor No.21】paddle.bernoulli #58877

Merged
merged 8 commits into from
Nov 17, 2023
Merged

Conversation

Liyulingyue
Copy link
Contributor

@Liyulingyue Liyulingyue commented Nov 9, 2023

PR types

Others

PR changes

APIs

Description

#58067 21
单侧通过率2/2

@paddle-bot paddle-bot bot added the contributor External developers label Nov 9, 2023
@luotao1 luotao1 added the HappyOpenSource 快乐开源活动issue与PR label Nov 10, 2023

This comment was marked as resolved.

@@ -62,6 +63,7 @@ def test_dygraph(self):
hist, prob = output_hist(out.numpy())
np.testing.assert_allclose(hist, prob, rtol=0, atol=0.01)

@test_with_pir_api
def test_static(self):

This comment was marked as resolved.

@MarioLulab
Copy link
Contributor

这个单测导致了 ci 报错
image

可以在 setUp 函数里加上 self.python_api =paddle.bernoulli

Copy link
Contributor

@MarioLulab MarioLulab left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM
可以在 pr 描述里写上单测覆盖率

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
contributor External developers HappyOpenSource 快乐开源活动issue与PR
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants