-
Notifications
You must be signed in to change notification settings - Fork 5.7k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
【PIR API adaptor No.148】outer #58927
Conversation
你的PR提交成功,感谢你对开源项目的贡献! |
Paddle/python/paddle/tensor/math.py Lines 2552 to 2576 in bd2e3d3
在 |
已解决 |
python/paddle/tensor/math.py
Outdated
for name, val in var_names.items(): | ||
check_variable_and_dtype( | ||
val, | ||
name, |
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.
pir 模式下的 check_dtype 未来会下沉到 C++ 侧去执行,所以可以先跳过检查 dtype 的单测。这里不需要在进入 in_dynamic_or_pir_mode 分支前进行类型判断
test/legacy_test/test_outer.py
Outdated
@test_with_pir_api | ||
def test_errors_static(self): |
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.
test_errors 可以先跳过。理由如上
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.
LGTM
PR types
Others
PR changes
APIs
Description
[used AI Studio]
No.148将 paddle.Tensor.outer 迁移升级至 pir,并更新单测 单测覆盖率:1/2
当前1个test_error单测已跳过