Repository navigation
[WIP] Migrate paddle.distribution.Normal into pir - #59922
Closed
MarioLulab wants to merge 1 commit into
Closed
MarioLulab wants to merge 1 commit into
MarioLulab wants to merge 1 commit into
Conversation
|
你的PR提交成功,感谢你对开源项目的贡献! |
| self.run_old_ir_normal_distribution_static(sample_shape) | ||
|
|
||
| self.compare_with_numpy(fetch_list) | ||
| self.init_static_data(self.batch_size, self.dims, in_pir=True) |
Collaborator
There was a problem hiding this comment.
这里直接加两个吗,需不需要判断是否在pir模式下捏~
Collaborator
Author
There was a problem hiding this comment.
按照我当前的写法,在 test_normal_distribution_static 函数体中,如果没进到 IrGuard 的管理范围内的话,应该都不是 pir 模式,所以没法用 paddle.base.framework.in_pir_mode 进行判断。所以我这里直接加两个了,o师傅也可以按自己的想法来~ 我的仅作参考
|
Sorry to inform you that cfd91d3's CIs have passed for more than 7 days. To prevent PR conflicts, you need to re-run all CIs manually. |
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
PR types
Others
PR changes
Others
Description
用来讨论:#59910