You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
你的PR提交成功,感谢你对开源项目的贡献!
请关注后续CI自动化测试结果,详情请参考Paddle-CI手册。
Your PR has been submitted. Thanks for your contribution!
Please wait for the result of CI firstly. See Paddle CI Manual for details.
❌ The PR is not created using PR's template. You can refer to this Demo.
Please use PR's template, it helps save our maintainers' time so that more developers get helped.
SigureMo
changed the title
[PIR] Use dtype if value is provided
[PIR] Use dtype if it's value is provided
Jan 16, 2024
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
OpTest 中如果 dtype 等属性有值,则不使用默认值,以免测不到各种 dtype
OpTest 在
prepare_python_api_arguments
中增加模式转换(target_dtype: None | VarType | DataType
),由于我们有些情况使用的是动转静,因此不能在prepare_python_api_arguments
直接通过in_pir_mode
或者use_pir_api
判断(两者都有 case 会挂),只能增加参数,根据情况来传递target_dtype
,如果以后动态图 API 也使用 DataType,只需要修改动态图相关的位置传入target_dtype=DataType
即可此外修复了多个 API 不支持传入
VarType
/DataType
的问题将
test_sequence_mask
和test_cast_op
从static_mode_white_list
移除,以便直接使用 Python 运行PCard-66972