-
Notifications
You must be signed in to change notification settings - Fork 5.8k
add pd_op.cast converter for PIR TRT #68216
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
Conversation
你的PR提交成功,感谢你对开源项目的贡献! |
Sorry to inform you that 4da6950's CIs have passed for more than 7 days. To prevent PR conflicts, you need to re-run all CIs manually. |
def cast_converter(network, paddle_op, inputs): | ||
input_tensor = inputs[0] | ||
out_dtype = int(paddle_op.attrs().get("dtype")) | ||
# 参考 paddle/phi/common/data_type.h enum DataType |
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.
修改为英文吧
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.
done
17808af
to
192d19d
Compare
PR Category
Inference
PR Types
New features
Description
pcard-71500
添加了pd_op.cast到PIR TRT转换支持