-
Notifications
You must be signed in to change notification settings - Fork 5.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Paddle TensorRT No.50] Add pd_op.prelu converter #69394
Conversation
你的PR提交成功,感谢你对开源项目的贡献! |
|
||
class TestPreluCase2TRTPattern(TensorRTBaseTest): | ||
def setUp(self): | ||
self.python_api = prelu_wrapper |
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.
再测一下mode =all,mode= channel和mode=element的单测,参考/test/ir/inference/test_trt_convert_prelu.py,我感觉你converter写的对比prelu_op.cc少了不少,你先测下这几个属性能不能过
单测再完善一下覆盖一下marker返回false的情况 |
Sorry to inform you that fb0b34d's CIs have passed for more than 7 days. To prevent PR conflicts, you need to re-run all CIs manually. |
"x": np.arange(24).reshape([2, 2, 2, 3]).astype("float32"), | ||
"num_parameters": 2, | ||
} | ||
self.program_config = {"feed_list": ["x"]} |
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.
加一个fp16的检测吧
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.
已添加
Sorry to inform you that 18791b9's CIs have passed for more than 7 days. To prevent PR conflicts, you need to re-run all CIs manually. |
PR Category
Inference
PR Types
New features
Description