提交 c9262306 authored 作者: Hengjean's avatar Hengjean

Fixed grammar error and improved description.

上级 007fe44c
...@@ -132,7 +132,7 @@ contains code that should be inserted wherever an error is identified. ...@@ -132,7 +132,7 @@ contains code that should be inserted wherever an error is identified.
``c_declare`` and ``c_extract`` also accept a third ``check_input`` ``c_declare`` and ``c_extract`` also accept a third ``check_input``
optional argument. If you want your type to validate its inputs, it must optional argument. If you want your type to validate its inputs, it must
do it only when ``check_input`` is True. only do it when ``check_input`` is True.
The example code below should help you understand how everything plays The example code below should help you understand how everything plays
out: out:
......
...@@ -136,8 +136,8 @@ The :func:`R_op` method is needed if you want ``theano.tensor.Rop`` to ...@@ -136,8 +136,8 @@ The :func:`R_op` method is needed if you want ``theano.tensor.Rop`` to
work with your op. work with your op.
The optional boolean :func:'check_input' attribute is used to specify if you want the types used in The optional boolean :func:'check_input' attribute is used to specify if you want the types used in
your op to check their inputs in their c_code. It can be used to speed up compilation and reduce the your op to check their inputs in their c_code. It can be used to speed up compilation, reduce overhead
number of generated c_file. (particularly for scalars) and reduce the number of generated C files.
Op Example Op Example
========== ==========
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论