[API compatibility]add Tensor.type_as#74459
Conversation
|
你的PR提交成功,感谢你对开源项目的贡献! |
Codecov Report❌ Patch coverage is
❌ Your patch status has failed because the patch coverage (83.33%) is below the target coverage (90.00%). You can increase the patch coverage or adjust the target coverage. Additional details and impacted files@@ Coverage Diff @@
## develop #74459 +/- ##
==========================================
Coverage ? 83.33%
==========================================
Files ? 3
Lines ? 6
Branches ? 0
==========================================
Hits ? 5
Misses ? 1
Partials ? 0 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
@Difers 测试记得加一下 |
已添加,麻烦再review下~ |
| return x.astype(y.dtype) | ||
|
|
||
|
|
||
| class TestTypeAsBase(unittest.TestCase): |
There was a problem hiding this comment.
你这个单测里没看到调用Tensor.type_as呢
|
/re-run all-failed |
PR Category
User Experience
PR Types
New features
Description
Pcard-73145
增加paddle.Tensor.type_as