提交 9ccd5d3a authored 作者: Iban Harlouchet's avatar Iban Harlouchet 提交者: Arnaud Bergeron

testcode for doc/library/compile/profilemode.txt

上级 1c2dfb89
......@@ -27,6 +27,7 @@ Creating a ProfileMode Instance
First create a ProfileMode instance.
>>> import theano
>>> from theano import ProfileMode
>>> profmode = theano.ProfileMode(optimizer='fast_run', linker=theano.gof.OpWiseCLinker())
......@@ -81,7 +82,7 @@ regression. (Code for this example is in the file
Compiling the module with ProfileMode and calling ``profmode.print_summary()``
generates the following output:
.. code-block:: python
.. testcode::
"""
ProfileMode.print_summary()
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论