提交 9d0544f7 authored 作者: Frederic Bastien's avatar Frederic Bastien

doc: better formating by respecting RST syntax.

上级 83a31fce
...@@ -8,13 +8,13 @@ some of them might be outdated though: ...@@ -8,13 +8,13 @@ some of them might be outdated though:
* :ref:`theano_type` -- tutorial for writing a new type in Theano. It introduces the * :ref:`theano_type` -- tutorial for writing a new type in Theano. It introduces the
basics concerning Theano datatypes basics concerning Theano datatypes
* :ref:`theano_ctype` -- tutorial on how to make your type C friendly. * :ref:`theano_ctype` -- tutorial on how to make your type C friendly.
* :ref:`views_and_inplace` -- this is somewhere between extending theano and * :ref:`views_and_inplace` -- this is somewhere between extending theano and
describing how theano works internally; it talks about views and inplace describing how theano works internally; it talks about views and inplace
operations operations
* :ref:`optimization` -- tutorial on how optimization work in Theano * :ref:`optimization` -- tutorial on how optimization work in Theano
......
...@@ -125,6 +125,7 @@ Defining the methods ...@@ -125,6 +125,7 @@ Defining the methods
.. 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
**c_declare** **c_declare**
.. code-block:: python .. code-block:: python
...@@ -225,6 +226,7 @@ API) and we put it in our double variable that we declared previously. ...@@ -225,6 +226,7 @@ API) and we put it in our double variable that we declared previously.
.. 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
**c_sync** **c_sync**
.. code-block:: python .. code-block:: python
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论