PaddlePaddle / PaddleCustomDevice

PaddlePaddle custom device implementaion. (『飞桨』自定义硬件接入实现)
Apache License 2.0
68 stars 142 forks source link

[NPU] The empty tensor are supported. #1220

Closed xuanyuanminzheng closed 4 months ago

xuanyuanminzheng commented 4 months ago

In the previous code, if the empty tensor fails to pass the verification, the nullptr is returned. The verification logic is modified to add the empty tensor scenario.

paddle-bot[bot] commented 4 months ago

Thanks for your contribution!