-
Notifications
You must be signed in to change notification settings - Fork 667
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
remove outdated doctest api and "@experimental_api" #5564
Conversation
eabb7a8
to
dbf38f7
Compare
oneflow/python/nn/graph.py
Outdated
@@ -231,7 +231,7 @@ def __repr__(self): | |||
|
|||
|
|||
@oneflow_export("nn.graph.GraphConfig") | |||
@experimental_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.
多出这个空行是不行的(语法上就会报错吧?)
e6ec455
to
7c57f30
Compare
@@ -44,15 +43,14 @@ def acos_op(tensor): | |||
|
|||
.. code-block:: python | |||
|
|||
>>> import oneflow.experimental as flow | |||
>>> import oneflow as flow |
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.
这个 acos
我改了,没有复现你的问题
remove @experimental_api decorator for apis, except that ones having same name with single client api.
…ow-Inc/oneflow into remove_doctest_outdate_api
…ttps://github.com/Oneflow-Inc/oneflow into remove_doctest_outdate_api
…remove_doctest_outdate_api remove experimental in new merge
add image.rst module.rst refine rst files
Speed stats:
|
…ow-Inc/oneflow into remove_doctest_outdate_api
docs/source/linagl.rst
Outdated
@@ -0,0 +1,8 @@ | |||
oneflow.linalg |
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.
这个文件名错了
Speed stats:
|
@experimental_api
,使得新接口直接在oneflow
名称空间下oneflow.experimental
和enable_eager_execution
experimetal
本地已经测试通过 ci/test/doctest.sh, python/test/modules, python/test/tensor, python/test/graph
文档已经编译并查看效果正常