pytorch/caffe2/python/docs
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
..
formatter.py fixed document generator for github 2017-05-15 11:40:46 -07:00
generator.py Standardize operator argument "is_test" 2017-09-13 14:35:27 -07:00
github.py fixed operators schema output to work from only this file for OSS 2017-06-02 13:47:25 -07:00
parser.py doxygen python block added 2017-03-29 06:46:16 -07:00