提交 ebe7a2e8 authored 作者: James Bergstra's avatar James Bergstra

docs

上级 2dc97b65
...@@ -2,9 +2,15 @@ ...@@ -2,9 +2,15 @@
.. _profilemode: .. _profilemode:
================================================ ================================================
:mod:`profilemode` -- profiling theano functions :mod:`profilemode` -- profiling Theano functions
================================================ ================================================
.. module:: profilemode
:platform: Unix, Windows
:synopsis: profiling Theano functions with ProfileMode
.. moduleauthor:: LISA
Guide Guide
===== =====
...@@ -180,10 +186,10 @@ Reference ...@@ -180,10 +186,10 @@ Reference
Print three summaries to stdout that show where cpu time is spent during theano function executions (for all functions using this object instance). Print three summaries to stdout that show where cpu time is spent during theano function executions (for all functions using this object instance).
:param n_apply_to_print: the number of apply nodes to print. :param n_apply_to_print: the number of apply nodes to print.
The default 15, but can be configured via ``ProfileMode.n_ops_to_print`` in :ref:`THEANO_FLAGS`. The default 15, but can be configured via ``ProfileMode.n_ops_to_print`` in :envvar:`THEANO_FLAGS`.
:param n_ops_to_print: the number of ops to print. :param n_ops_to_print: the number of ops to print.
Default 20, or but can be configured via ``ProfileMode.n_apply_to_print`` in :ref:`THEANO_FLAGS`. Default 20, or but can be configured via ``ProfileMode.n_apply_to_print`` in :envvar:`THEANO_FLAGS`.
:returns: None :returns: None
...@@ -195,10 +201,10 @@ Reference ...@@ -195,10 +201,10 @@ Reference
:param other: the other instance of ProfileMode that we want to be compared to. :param other: the other instance of ProfileMode that we want to be compared to.
:param n_apply_to_print: the number of apply nodes to print. :param n_apply_to_print: the number of apply nodes to print.
The default 15, but can be configured via ``ProfileMode.n_ops_to_print`` in :ref:`THEANO_FLAGS`. The default 15, but can be configured via ``ProfileMode.n_ops_to_print`` in :envvar:`THEANO_FLAGS`.
:param n_ops_to_print: the number of ops to print. :param n_ops_to_print: the number of ops to print.
Default 20, or but can be configured via ``ProfileMode.n_apply_to_print`` in :ref:`THEANO_FLAGS`. Default 20, or but can be configured via ``ProfileMode.n_apply_to_print`` in :envvar:`THEANO_FLAGS`.
:returns: None :returns: None
.. _libdoc_config: .. _libdoc_config:
======================================================== =======================================
:mod:`config` -- library configuration [doc TODO] :mod:`config` -- library configuration
======================================================== =======================================
.. module:: config
:platform: Unix, Windows
:synopsis: library configuration
.. moduleauthor:: LISA
use of THEANO_FLAGS
.. envvar:: THEANO_FLAGS
what attributes are in here? ***TODO***
.. attribute:: floatx
***TODO*** what attributes are in here?
.. _libdoc_tensor:
================================================== ==================================================
:mod:`tensor` -- types and ops for symbolic numpy :mod:`tensor` -- types and ops for symbolic numpy
================================================== ==================================================
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论