Comments (7)
See https://www.sphinx-doc.org/en/master/usage/extensions/napoleon.html.
from onnxscript.
We use sphinx for document-generation. We need to pick something that will be compatible with that. Why not reST
? I am not familiar with this aspect, @xadupre would know better ... any comments @xadupre ?
from onnxscript.
docconvert seems to change the style to follow numpy, google, epydoc, rest. There should be a sphinx extension to process all of them after they are converted. numpy style is used by scikit-learn and is usually easier to read than rest. Just avoid epydoc, it is using javadoc style.
from onnxscript.
sphinx supports google style docs. PyTorch uses it combined with reST style references with sphinx and it functions nicely. We can probably learn from how they do it.
I think google style is easier to read and write since it is less verbose (no :param xxx:
) and with clearer indentation. (reST praram and return sections are all lumped together)
from onnxscript.
Sounds good, thanks!
from onnxscript.
Doc pages can be written with markdown using myst https://myst-parser.readthedocs.io/en/latest/
from onnxscript.
Looks like we have sphinx.ext.napoleon
already. So we should be safe.
from onnxscript.
Related Issues (20)
- Use the correct logger in values.py
- aten_index_put doesn't support 1-D tensor HOT 4
- Create function boundaries for each traced functions.
- [torchlib] Implement sinc function
- [torchlib] Fix special.erfcx HOT 5
- Handling the shape for loop condition
- How to get the node name mapping between FX (aten) and ONNX as far as possible? HOT 5
- Wrong shape of mean and variance in _aten_native_batch_norm_inference_onnx HOT 6
- [torchlib] torch.ops.aten.nll_loss_forward.default
- InstanceNorm always has training attribute set to True HOT 15
- Illegal "IsScalar" node encountered in exported ONNX model HOT 26
- Pytorch exporter test failure: pytest test/onnx/test_fx_op_consistency.py -k test_output_match_squeeze_multiple -v
- Bilinear and Trilinear interpolation are failing after updating to latest onnxscript (0.1.0.dev20240205) HOT 1
- Update symbolic shape export wrt to ONNX 1.16
- Latest pytorch with latest onnxscript is failing native_batch_norm
- Latest pytorch with latest onnxscript is failing nn.functional.batch_norm HOT 1
- [torchlib] IRFFT implementation is not correct HOT 4
- Complicated ops are not well-covered by extra_opinfo
- [torchlib] aten.instance_norm
- Can't generate Constant nodes with attributes as vectors HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from onnxscript.