Skip to content
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

[Inference] output tensor hook support while op #54432

Merged
merged 1 commit into from
Jun 8, 2023

Conversation

yuanlehome
Copy link
Contributor

@yuanlehome yuanlehome commented Jun 7, 2023

PR types

Others

PR changes

Others

Description

print output tensor support while op.
之前hook函数接收的是paddle_infer::Tensor不能支持了(while里的scope是新的,没法用paddle_infer::Tensor)现在hook工具只支持paddle::Tensor(c++),paddle.Tensor(python).

使用示例 ref to #54254

@paddle-bot
Copy link

paddle-bot bot commented Jun 7, 2023

你的PR提交成功,感谢你对开源项目的贡献!
请关注后续CI自动化测试结果,详情请参考Paddle-CI手册
Your PR has been submitted. Thanks for your contribution!
Please wait for the result of CI firstly. See Paddle CI Manual for details.

Copy link
Contributor

@jiweibo jiweibo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@qingqing01 qingqing01 merged commit 418d279 into PaddlePaddle:develop Jun 8, 2023
@yuanlehome yuanlehome deleted the hook_support_while branch June 9, 2023 16:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants