Dev add docstring (#5449)
* startup: use python, not C extension
* rst changes test
* refine
* add F.rst
* add bernoulli add docstr example
* add doctest for functional method
* del docstr utils immediately in init.py
* refine test case
* use sin, cos instead of add, mul
* refine
Co-authored-by:
oneflow-ci-bot <69100618+oneflow-ci-bot@users.noreply.github.com>
Showing
- docs/source/F.rst 8 additions, 0 deletionsdocs/source/F.rst
- docs/source/index.rst 1 addition, 0 deletionsdocs/source/index.rst
- oneflow/init.py 7 additions, 0 deletionsoneflow/init.py
- oneflow/python/framework/docstr/__init__.py 17 additions, 0 deletionsoneflow/python/framework/docstr/__init__.py
- oneflow/python/framework/docstr/math_ops.py 80 additions, 0 deletionsoneflow/python/framework/docstr/math_ops.py
- oneflow/python/framework/docstr/random.py 58 additions, 0 deletionsoneflow/python/framework/docstr/random.py
- oneflow/python/framework/docstr/utils.py 26 additions, 0 deletionsoneflow/python/framework/docstr/utils.py
- oneflow/python/test/modules/test_functional_docstr.py 70 additions, 0 deletionsoneflow/python/test/modules/test_functional_docstr.py
docs/source/F.rst
0 → 100644
oneflow/python/framework/docstr/__init__.py
0 → 100644
oneflow/python/framework/docstr/math_ops.py
0 → 100644
oneflow/python/framework/docstr/random.py
0 → 100644
oneflow/python/framework/docstr/utils.py
0 → 100644
Please register or sign in to comment