-
Notifications
You must be signed in to change notification settings - Fork 5.7k
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
[Docathon] Fix NO.13-NO.18 API label #57658
Conversation
你的PR提交成功,感谢你对开源项目的贡献! |
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.
忘记加上paddle啦~
python/paddle/base/dygraph/base.py
Outdated
You can enter dynamic graph mode with :ref:`api_base_dygraph_guard` api, | ||
or enable and disable dynamic graph mode with :ref:`api_base_dygraph_enable_dygraph` | ||
and :ref:`api_base_dygraph_disable_dygraph` api . | ||
You can enter dynamic graph mode with :ref:`api_paddle_guard` api, |
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.
@sunzhongkai588 因为2.0默认是动态图模式,所以把 <You can enter dynamic graph mode with :ref:api_base_dygraph_guard
api,> 删了,修改成 <You can enable and disable dynamic graph mode with :ref:api_base_dygraph_enable_dygraph
...> ,孙师傅看看怎么样~
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.
我觉得 ok 的, @SigureMo 看一下
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.
paddle.base.dygrapph.enable_dygraph
不是暴露的 API 吧?应该引用不了吧
enable_dygraph
==disable_static
disable_dygraph
==enable_static
可以用 paddle.enable_static
和 paddle.disable_static
这两个 API
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.
@zade23 可以修改下,enter dynamic graph mode with :ref:api_paddle_guard
api,删了变成 you can enable and disable dynamic graph mode with :ref:api_paddle_disable_static
and :ref:api_paddle_enable_static
api .
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.
@zade23 可以修改下,enter dynamic graph mode with :ref:
api_paddle_guard
api,删了变成 you can enable and disable dynamic graph mode with :ref:api_paddle_disable_static
and :ref:api_paddle_enable_static
api .
@ooooo-create
了解了,如果保持意思不变,改成如下这样会不会更通顺一点呢🤔
You can enable dynamic graph mode with :ref:`api_paddle_disable_static` api,
or disable dynamic graph mode with :ref:`api_paddle_enable_static` .
Co-authored-by: ooo oo <[email protected]>
Co-authored-by: ooo oo <[email protected]>
Co-authored-by: ooo oo <[email protected]>
Co-authored-by: ooo oo <[email protected]>
Co-authored-by: ooo oo <[email protected]>
Co-authored-by: ooo oo <[email protected]>
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.
LGTM
fix ref_dygraph
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.
LGTM
Sorry to inform you that 2a7328f's CIs have passed for more than 7 days. To prevent PR conflicts, you need to re-run all CIs manually. |
* fix 13_18 * Update python/paddle/optimizer/optimizer.py Co-authored-by: ooo oo <[email protected]> * Update python/paddle/optimizer/optimizer.py Co-authored-by: ooo oo <[email protected]> * Update python/paddle/nn/clip.py Co-authored-by: ooo oo <[email protected]> * Update python/paddle/incubate/optimizer/modelaverage.py Co-authored-by: ooo oo <[email protected]> * Update python/paddle/incubate/optimizer/lookahead.py Co-authored-by: ooo oo <[email protected]> * Update python/paddle/distributed/fleet/fleet.py Co-authored-by: ooo oo <[email protected]> * Update base.py fix ref_dygraph --------- Co-authored-by: ooo oo <[email protected]>
* fix 13_18 * Update python/paddle/optimizer/optimizer.py Co-authored-by: ooo oo <[email protected]> * Update python/paddle/optimizer/optimizer.py Co-authored-by: ooo oo <[email protected]> * Update python/paddle/nn/clip.py Co-authored-by: ooo oo <[email protected]> * Update python/paddle/incubate/optimizer/modelaverage.py Co-authored-by: ooo oo <[email protected]> * Update python/paddle/incubate/optimizer/lookahead.py Co-authored-by: ooo oo <[email protected]> * Update python/paddle/distributed/fleet/fleet.py Co-authored-by: ooo oo <[email protected]> * Update base.py fix ref_dygraph --------- Co-authored-by: ooo oo <[email protected]>
* fix 13_18 * Update python/paddle/optimizer/optimizer.py Co-authored-by: ooo oo <[email protected]> * Update python/paddle/optimizer/optimizer.py Co-authored-by: ooo oo <[email protected]> * Update python/paddle/nn/clip.py Co-authored-by: ooo oo <[email protected]> * Update python/paddle/incubate/optimizer/modelaverage.py Co-authored-by: ooo oo <[email protected]> * Update python/paddle/incubate/optimizer/lookahead.py Co-authored-by: ooo oo <[email protected]> * Update python/paddle/distributed/fleet/fleet.py Co-authored-by: ooo oo <[email protected]> * Update base.py fix ref_dygraph --------- Co-authored-by: ooo oo <[email protected]>
PR types
Others
PR changes
Docs
Description
#57363
api_base_default_main_program
api_static_default_main_program
api_base_default_startup_program
api_static_default_startup_program
api_base_dygraph_disable_dygraph
api_paddle_enable_static
api_base_dygraph_enable_dygraph
api_paddle_disable_static
api_base_dygraph_guard
api_paddle_guard
api_base_dygraph_to_variable
api_paddle_to_tensor