-
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
[Dy2St] Optimize int(Value)
and float(Value)
error messages
#68328
[Dy2St] Optimize int(Value)
and float(Value)
error messages
#68328
Conversation
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.
其余倒没啥问题
python/paddle/pir/math_op_patch.py
Outdated
) | ||
error_msg = """\ | ||
int(Tensor) is not supported in static graph mode. Because it's value is not available during the static mode. | ||
If you haven't call int(Tensor) explicitly, it's usually triggered by the logging implicitly, for example: |
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.
你的PR提交成功,感谢你对开源项目的贡献! |
PR Category
Execute Infrastructure
PR Types
Improvements
Description
新的
float(Value)
报错信息新的
int(Value)
报错信息