mirror of
https://github.com/zebrajr/pytorch.git
synced 2025-12-07 12:21:27 +01:00
Summary: This updates https://github.com/caffe2/caffe2/pull/1096/ to build doxygen docs with cmake and fixes operator catalog generation. See the new README.md for details, but you can run ``` mkdir build && cd build cmake -DBUILD_DOCS=ON .. && make ``` and ``` python caffe2/python/docs/github.py ~/c2docs/_docs/operators-catalogue.md ``` to generate docs. There was one weird issue in `generator.py` that we sometimes receive tuples and sometimes objects. I handled this just by testing `isinstance`, but we might want to be more principled in the future. Closes https://github.com/caffe2/caffe2/pull/1758 Reviewed By: pietern Differential Revision: D6752127 Pulled By: orionr fbshipit-source-id: 9ba9ad8efc920b27a57327f8a7d3050f3650d4ce |
||
|---|---|---|
| .. | ||
| formatter.py | ||
| generator.py | ||
| github.py | ||
| parser.py | ||