提交 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.
``c_declare`` and ``c_extract`` also accept a third ``check_input``
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
out:
......
......@@ -136,8 +136,8 @@ The :func:`R_op` method is needed if you want ``theano.tensor.Rop`` to
work with your op.
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
number of generated c_file.
your op to check their inputs in their c_code. It can be used to speed up compilation, reduce overhead
(particularly for scalars) and reduce the number of generated C files.
Op Example
==========
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论