提交 4959dd28 authored 作者: Iban Harlouchet's avatar Iban Harlouchet 提交者: Arnaud Bergeron

testcode for doc/extending/cop.txt

上级 7826b448
...@@ -256,7 +256,7 @@ We will be defining C code for the multiplication Op on doubles. ...@@ -256,7 +256,7 @@ We will be defining C code for the multiplication Op on doubles.
.. If you modify this code, also change : .. If you modify this code, also change :
.. theano/tests/test_tutorial.py:T_extending.test_extending_2 .. theano/tests/test_tutorial.py:T_extending.test_extending_2
.. code-block:: python .. testcode::
def c_code(node, name, input_names, output_names, sub): def c_code(node, name, input_names, output_names, sub):
x_name, y_name = input_names[0], input_names[1] x_name, y_name = input_names[0], input_names[1]
...@@ -302,7 +302,7 @@ version that it produces in the code I gave above. ...@@ -302,7 +302,7 @@ version that it produces in the code I gave above.
.. If you modify this code, also change : .. If you modify this code, also change :
.. theano/tests/test_tutorial.py:T_extending.test_extending_2 .. theano/tests/test_tutorial.py:T_extending.test_extending_2
.. code-block:: python .. testcode::
from theano import gof from theano import gof
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论