Skip to content

opt dygraph python code#33997

Merged
wanghuancoder merged 2 commits intoPaddlePaddle:developfrom
wanghuancoder:dygraph_python_opt1
Jul 9, 2021
Merged

opt dygraph python code#33997
wanghuancoder merged 2 commits intoPaddlePaddle:developfrom
wanghuancoder:dygraph_python_opt1

Conversation

@wanghuancoder
Copy link
Contributor

@wanghuancoder wanghuancoder commented Jul 7, 2021

PR types

Performance optimization

PR changes

APIs

Describe

优化动态图API,将in_dygraph_mode之前的,静态图逻辑,后移到in_dygraph_mode之后。
本次排查了如下文件:
python/paddle/nn/functional/loss.py
python/paddle/fluid/layers/nn.py
python/paddle/tensor/math.py
python/paddle/distributed/collective.py
python/paddle/fluid/dygraph/nn.py
python/paddle/fluid/layers/tensor.py

@paddle-bot-old
Copy link

paddle-bot-old bot commented Jul 7, 2021

Thanks for your contribution!
Please wait for the result of CI firstly. See Paddle CI Manual for details.

Copy link
Contributor

@zhiqiu zhiqiu left a comment

Choose a reason for hiding this comment

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

LGTM

@wanghuancoder wanghuancoder merged commit 0a9ad8d into PaddlePaddle:develop Jul 9, 2021
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