Skip to content

Conversation

@feifei-111
Copy link
Contributor

@feifei-111 feifei-111 commented Sep 14, 2022

PR types

Others

PR changes

Others

Describe

Fixed a bug in decorator transformer, it can not analyze decorator with params correctly
error happens when the param is empty

@paddle-bot
Copy link

paddle-bot bot commented Sep 14, 2022

你的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.

@Aurelius84 Aurelius84 merged commit 2253013 into PaddlePaddle:develop Sep 17, 2022
feifei-111 added a commit to feifei-111/Paddle that referenced this pull request Sep 19, 2022
…orator with params correctly (PaddlePaddle#46055)

* fix deco call

* add raise

* add test

* add warn, fix paddle api

* fix error type

* fix coverage
phlrain pushed a commit that referenced this pull request Sep 19, 2022
…ram (#46194)

* [dy2static] support user to use decorator in their program (#45768)

* support deco

* fix deco ast type

* arg_str

* 1

* support callable deco

* code style

* codestyle

* test_error

* fix decos in another file

* recover conflict codes

* [BugFix] fixed a bug in decorator transformer, it can not analyze decorator with params correctly (#46055)

* fix deco call

* add raise

* add test

* add warn, fix paddle api

* fix error type

* fix coverage
@feifei-111 feifei-111 deleted the deco_fix branch December 15, 2023 04:18
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.

2 participants