Commit Graph

5 Commits

Author SHA1 Message Date
Junjie Bai
90ca470d70 Standardize operator argument "is_test"
Summary:
Also add the ability to mark an argument as required.

Added a string constant `OpSchema::Arg_IsTest` for `is_test` arg.
If users define the `is_test` argument with `ArgIsTest(...)`, then it automatically becomes required argument, in the meanwhile user can still use `Arg("is_test", ...)` to define an optional `is_test` argument.

Reviewed By: akyrola

Differential Revision: D5812391

fbshipit-source-id: eaaba50d027813a8012389edc6c459de23c3c728
2017-09-13 14:35:27 -07:00
Thomas Dudziak
5355634dac Dict fixes/improvements and unittest targets for Python 3 in caffe2 core
Summary: As title

Reviewed By: salexspb

Differential Revision: D5316104

fbshipit-source-id: aee43819d817842e5ce6ba3d045a55b1a2491c30
2017-06-29 17:05:41 -07:00
Aaron Markham
ad37840329 fixed document generator for github
Summary: Fixed generator. Tweaked the output to fit github markdown template.

Reviewed By: bwasti

Differential Revision: D4569692

fbshipit-source-id: 87f497319cc8b258c6c75dc0837d728c5eda5636
2017-05-15 11:40:46 -07:00
Aaron Markham
58f7f2b441 doxygen python block added
Summary: Closes https://github.com/caffe2/caffe2/pull/226

Differential Revision: D4793550

Pulled By: JoelMarcey

fbshipit-source-id: cc33e58186304fa8dcac2ee9115dcc271d785b1e
2017-03-29 06:46:16 -07:00
Bram Wasti
6fabf8ed1a Documenation generation to wiki
Summary: generates a fair amount of documentation from the operators.  also provides a framework for later documentation generation and custom syntax.

Reviewed By: dzhulgakov

Differential Revision: D4168311

fbshipit-source-id: 89ae9d023ad883623cdc1879c11e10b202b68793
2017-02-15 16:00:44 -08:00