Skip to content
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

Rebuild Docs V0.8.0 #8392

Merged
merged 98 commits into from
Jul 19, 2022
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
Show all changes
98 commits
Select commit Hold shift + click to select a range
b3f66de
rebuild for 5 module
QiaolingChen00 Jun 9, 2022
5af17c6
fix bug
QiaolingChen00 Jun 12, 2022
0988e3d
fix for doctree and content in nn and
QiaolingChen00 Jun 13, 2022
8f5ac1b
fix
QiaolingChen00 Jun 15, 2022
fa411f0
fix
QiaolingChen00 Jun 15, 2022
eb5b02a
fix
QiaolingChen00 Jun 15, 2022
276bd4b
add some
QiaolingChen00 Jun 15, 2022
008e7be
fix for oneflow.rst
QiaolingChen00 Jun 17, 2022
80728d4
update oneflow oneflow.nn
QiaolingChen00 Jun 20, 2022
11f7bba
update tensor
QiaolingChen00 Jun 20, 2022
39e2359
update tensor module
QiaolingChen00 Jun 20, 2022
6d3a091
update
QiaolingChen00 Jun 21, 2022
43f9f23
Merge branch 'master' into docsv0.8
QiaolingChen00 Jun 21, 2022
cbb1340
test
QiaolingChen00 Jun 21, 2022
61dc24b
Merge branch 'docsv0.8' of github.com:Oneflow-Inc/oneflow into docsv0.8
QiaolingChen00 Jun 21, 2022
0590027
update
QiaolingChen00 Jun 23, 2022
c46825b
update
QiaolingChen00 Jun 27, 2022
d2749cd
fix for undone desc
QiaolingChen00 Jun 28, 2022
2e51b5b
docs: oneflow.utils.data (#8485)
lmyybh Jun 28, 2022
2a7efc3
nn.graph
QiaolingChen00 Jun 29, 2022
fe2bffd
Merge branch 'master' into docsv0.8
QiaolingChen00 Jun 29, 2022
2d4fd74
Merge branch 'master' into docsv0.8
QiaolingChen00 Jun 30, 2022
ea2d8ba
fix for graph
QiaolingChen00 Jun 30, 2022
0e9d4cb
fix bug
QiaolingChen00 Jul 3, 2022
d5117dd
review nn and linalg document (#8515)
lmyybh Jul 4, 2022
0eb8387
change attributes.rst and review nn.functional.rst (#8514)
laoliu97 Jul 4, 2022
4cbfad1
Merge branch 'master' into docsv0.8
QiaolingChen00 Jul 4, 2022
829319a
fix cuda and rebuild comm demo (#8582)
laoliu97 Jul 7, 2022
fab8b99
update image
QiaolingChen00 Jul 7, 2022
fc820f7
Merge branch 'docsv0.8' of github.com:Oneflow-Inc/oneflow into docsv0.8
QiaolingChen00 Jul 7, 2022
fa5bf7e
add distributed
QiaolingChen00 Jul 8, 2022
ca8da95
oneembedding & refine graph
QiaolingChen00 Jul 11, 2022
bb30f03
update for sdisributed one_embedding
QiaolingChen00 Jul 12, 2022
209a78c
fix rnn.py (#8616)
laoliu97 Jul 12, 2022
c4c05a7
重构 oneflow.nn.init 文档 (#8622)
lmyybh Jul 12, 2022
b08dcdb
docs(nn.init): remove the comments
lmyybh Jul 12, 2022
9a19a75
docs(utils.data): remove the comments
lmyybh Jul 12, 2022
d881783
Resolved merge conflict by incorporating both suggestions.
laoliu97 Jul 12, 2022
8596417
Merge branch 'docsv0.8' of https://github.com/Oneflow-Inc/oneflow int…
laoliu97 Jul 12, 2022
397c072
update and fix bug
QiaolingChen00 Jul 13, 2022
f85470e
docs(review): refine the documents (#8646)
lmyybh Jul 13, 2022
c49cf67
docs(tensor): edit note
lmyybh Jul 13, 2022
4f1aecf
Merge branch 'master' into docsv0.8
doombeaker Jul 14, 2022
34cf7be
重构 oneflow.autograd 文档 (#8594)
lmyybh Jul 14, 2022
660d066
docs(autograd): add reference
lmyybh Jul 14, 2022
c58538d
update
QiaolingChen00 Jul 14, 2022
7612d3a
Merge branch 'docsv0.8' of github.com:Oneflow-Inc/oneflow into docsv0.8
QiaolingChen00 Jul 14, 2022
fc96d3f
docs(tensor): change autoclass to autosummary
lmyybh Jul 14, 2022
3410b1f
update
QiaolingChen00 Jul 14, 2022
6bfce69
Merge branch 'docsv0.8' of github.com:Oneflow-Inc/oneflow into docsv0.8
QiaolingChen00 Jul 14, 2022
4fbb66f
update
QiaolingChen00 Jul 14, 2022
10fb827
add oneflow.linalg.diagonal (#8653)
lmyybh Jul 14, 2022
31539c0
update enviorment variable
QiaolingChen00 Jul 14, 2022
ce10ab2
Update docs/source/distributed.rst
QiaolingChen00 Jul 14, 2022
a2166dd
Update docs/source/distributed.rst
QiaolingChen00 Jul 14, 2022
4159052
Merge branch 'docsv0.8' of github.com:Oneflow-Inc/oneflow into docsv0.8
QiaolingChen00 Jul 14, 2022
bb69d19
update enviorment variable
QiaolingChen00 Jul 14, 2022
347e8e4
update for ev & distributed
QiaolingChen00 Jul 15, 2022
14f8197
update distribued
QiaolingChen00 Jul 15, 2022
6048272
update ev
QiaolingChen00 Jul 15, 2022
dbc1a1d
update distribute desc
QiaolingChen00 Jul 15, 2022
b89807b
Update docs/source/distributed.rst
QiaolingChen00 Jul 15, 2022
a4f0710
update
QiaolingChen00 Jul 15, 2022
7f2ff33
Merge branch 'docsv0.8' of github.com:Oneflow-Inc/oneflow into docsv0.8
QiaolingChen00 Jul 15, 2022
b701264
修改 docstring 描述 (#8656)
lmyybh Jul 15, 2022
09a66fa
Merge branch 'master' into docsv0.8
doombeaker Jul 17, 2022
df48dfb
Update docs/source/distributed.rst
hjchen2 Jul 17, 2022
1daffa4
updte for distributed details and environment_variable
QiaolingChen00 Jul 17, 2022
181ec48
docs(docstring): Modify all reference links to version 1.10 (#8663)
lmyybh Jul 17, 2022
6eca109
fix bug
QiaolingChen00 Jul 17, 2022
d87d3f6
fix bug
QiaolingChen00 Jul 17, 2022
430a182
fix all warning
QiaolingChen00 Jul 17, 2022
57949c8
Merge branch 'master' into docsv0.8
QiaolingChen00 Jul 17, 2022
b687745
fix
QiaolingChen00 Jul 17, 2022
59b801e
Merge branch 'docsv0.8' of github.com:Oneflow-Inc/oneflow into docsv0.8
QiaolingChen00 Jul 17, 2022
fa89887
fix
QiaolingChen00 Jul 17, 2022
71553ac
update ev
QiaolingChen00 Jul 17, 2022
c2fc9e4
fix remain ev
QiaolingChen00 Jul 18, 2022
5117b75
Lx new (#8676)
laoliu97 Jul 18, 2022
cf581a9
update
QiaolingChen00 Jul 18, 2022
b15687e
Merge branch 'docsv0.8' of github.com:Oneflow-Inc/oneflow into docsv0.8
QiaolingChen00 Jul 18, 2022
a978cc7
refine for oyy in ev
QiaolingChen00 Jul 18, 2022
0543101
refine for oyy in ev
QiaolingChen00 Jul 18, 2022
19c3427
update 0.8tag for ev
QiaolingChen00 Jul 18, 2022
67ff945
fix
QiaolingChen00 Jul 18, 2022
b77e159
Merge branch 'master' into docsv0.8
QiaolingChen00 Jul 18, 2022
fd80639
fix for oneembedding's math
QiaolingChen00 Jul 18, 2022
3fbeb50
Merge branch 'docsv0.8' of github.com:Oneflow-Inc/oneflow into docsv0.8
QiaolingChen00 Jul 18, 2022
676a67d
Merge branch 'master' into docsv0.8
QiaolingChen00 Jul 18, 2022
4ef0085
auto format by CI
oneflow-ci-bot Jul 18, 2022
682ad88
Fix war (#8682)
laoliu97 Jul 18, 2022
e0e1302
auto format by CI
oneflow-ci-bot Jul 18, 2022
7093e24
fix for pass test
QiaolingChen00 Jul 18, 2022
f69ea9e
Merge branch 'docsv0.8' of github.com:Oneflow-Inc/oneflow into docsv0.8
QiaolingChen00 Jul 18, 2022
6e7c911
Merge branch 'master' into docsv0.8
QiaolingChen00 Jul 19, 2022
36856eb
update
QiaolingChen00 Jul 19, 2022
d5f055f
Merge branch 'docsv0.8' of github.com:Oneflow-Inc/oneflow into docsv0.8
QiaolingChen00 Jul 19, 2022
3bb7412
update
QiaolingChen00 Jul 19, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 12 additions & 5 deletions docs/source/autograd.rst
Original file line number Diff line number Diff line change
@@ -1,12 +1,19 @@
oneflow.autograd
================================================

.. currentmodule:: oneflow.autograd

Functions and classes for autograd.
---------------------------------------------------
.. currentmodule:: oneflow.autograd

.. autosummary::
:toctree: generated
:nosignatures:

grad
backward


.. autoclass:: oneflow.autograd.Function
:members: apply,
:special-members: __call__,

.. automodule:: oneflow.autograd
:members: grad,
backward,
5 changes: 5 additions & 0 deletions docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,14 @@
"sphinx.ext.autodoc",
"sphinx.ext.napoleon",
"recommonmark",
"sphinx.ext.autosummary",
"sphinx_copybutton",
]

# build the templated autosummary files
autosummary_generate = True
numpydoc_show_class_members = False

# Add any paths that contain templates here, relative to this directory.
templates_path = ["_templates"]

Expand Down
156 changes: 107 additions & 49 deletions docs/source/functional.rst
Original file line number Diff line number Diff line change
@@ -1,52 +1,110 @@
oneflow.nn.functional
QiaolingChen00 marked this conversation as resolved.
Show resolved Hide resolved
===========================================
Functional operations for neural networks
-------------------------------------------

.. currentmodule:: oneflow.nn.functional
.. autofunction:: conv1d
.. autofunction:: conv2d
.. autofunction:: conv3d
.. autofunction:: conv_transpose1d
.. autofunction:: conv_transpose2d
.. autofunction:: conv_transpose3d
.. autofunction:: adaptive_avg_pool1d
.. autofunction:: adaptive_avg_pool2d
.. autofunction:: adaptive_avg_pool3d
.. autofunction:: relu
.. autofunction:: hardsigmoid
.. autofunction:: hardshrink
.. autofunction:: hardswish
.. autofunction:: hardtanh
.. autofunction:: normalize
.. autofunction:: layer_norm
.. autofunction:: leaky_relu
.. autofunction:: elu
.. autofunction:: celu
.. autofunction:: selu
.. autofunction:: sigmoid
.. autofunction:: pad
.. autofunction:: prelu
.. autofunction:: logsigmoid
.. autofunction:: log_softmax
.. autofunction:: gelu
.. autofunction:: glu
.. autofunction:: softsign
.. autofunction:: softmax
.. autofunction:: softplus
.. autofunction:: tanh
.. autofunction:: threshold
.. autofunction:: softshrink
.. autofunction:: silu
.. autofunction:: mish
.. autofunction:: one_hot
.. autofunction:: triplet_margin_loss
.. autofunction:: dropout
.. autofunction:: affine_grid
.. autofunction:: grid_sample
.. autofunction:: interpolate
.. autofunction:: ctc_greedy_decoder
.. autofunction:: sparse_softmax_cross_entropy
.. autofunction:: embedding
.. autofunction:: linear
.. autofunction:: cosine_similarity
.. autofunction:: cross_entropy

Convolution functions
-------------------------------------------

.. autosummary::
:toctree: generated
:nosignatures:

conv1d
conv2d
conv3d

Pooling functions
----------------------------------

.. autosummary::
:toctree: generated
:nosignatures:

adaptive_avg_pool1d
adaptive_avg_pool2d
adaptive_avg_pool3d

Non-linear activation functions
-------------------------------

.. autosummary::
:toctree: generated
:nosignatures:

threshold
relu
hardtanh
elu
selu
celu
leaky_relu
prelu
glu
gelu
logsigmoid
hardshrink
softsign
softplus
softmax
softshrink
log_softmax
tanh
sigmoid
hardsigmoid
silu
mish
layer_norm
normalize

Linear functions
----------------

.. autosummary::
:toctree: generated
:nosignatures:

linear

Dropout functions
-----------------

.. autosummary::
:toctree: generated
:nosignatures:

dropout

Sparse functions
----------------------------------

.. autosummary::
:toctree: generated
:nosignatures:

embedding
one_hot


Loss functions
--------------

.. autosummary::
:toctree: generated
:nosignatures:

sparse_softmax_cross_entropy
cross_entropy
triplet_margin_loss

Vision functions
----------------

.. autosummary::
:toctree: generated
:nosignatures:

pad
interpolate
grid_sample
affine_grid
4 changes: 2 additions & 2 deletions docs/source/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ OneFlow API Reference
:caption: OneFlow Python API

oneflow
tensor
tensor_attributes
nn
functional
tensor
QiaolingChen00 marked this conversation as resolved.
Show resolved Hide resolved
tensor_attributes
autograd
cuda
distributed
Expand Down
Loading