提交 87025fca authored 作者: Arnaud Bergeron's avatar Arnaud Bergeron

Fixup remaining files.

上级 3a6d2fcb
...@@ -328,10 +328,10 @@ Testing your installation ...@@ -328,10 +328,10 @@ Testing your installation
Once you have installed Theano, you should run the test suite. At Once you have installed Theano, you should run the test suite. At
a Python (or IPython) interpreter, a Python (or IPython) interpreter,
.. testcode:: .. code-block:: python
import theano import theano
theano.test() # doctest: +SKIP theano.test()
You can also run them in-place from the Git checkout directory by typing You can also run them in-place from the Git checkout directory by typing
......
...@@ -585,7 +585,7 @@ follows: ...@@ -585,7 +585,7 @@ follows:
This setting can also be changed in Python for testing purpose (in which This setting can also be changed in Python for testing purpose (in which
case it will remain only for the duration of your Python session): case it will remain only for the duration of your Python session):
.. testcode:: .. code-block:: python
theano.config.blas.ldflags = "-LX:\\YYY\\YYY -lopenblas" theano.config.blas.ldflags = "-LX:\\YYY\\YYY -lopenblas"
......
...@@ -37,14 +37,9 @@ Theano doesn't use your grandfather's python. ...@@ -37,14 +37,9 @@ Theano doesn't use your grandfather's python.
* functions (function objects) can have attributes too. This technique * functions (function objects) can have attributes too. This technique
is often used to define a function's error messages. is often used to define a function's error messages.
.. testcode:: >>> def f(): return f.a
>>> f.a = 5
def f(): return f.a >>> f()
f.a = 5
f()
.. testoutput::
5 5
* Warning about mutual imports: * Warning about mutual imports:
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论