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

Fixup remaining files.

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