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

many additions to doc/library

上级 da3cc3ad
...@@ -64,7 +64,7 @@ today_fmt = '%B %d, %Y' ...@@ -64,7 +64,7 @@ today_fmt = '%B %d, %Y'
# List of directories, relative to source directories, that shouldn't be searched # List of directories, relative to source directories, that shouldn't be searched
# for source files. # for source files.
exclude_dirs = ['images', 'scripts', 'trac'] exclude_dirs = ['images', 'scripts', 'sandbox']
# The reST default role (used for this markup: `text`) to use for all documents. # The reST default role (used for this markup: `text`) to use for all documents.
#default_role = None #default_role = None
......
...@@ -20,5 +20,5 @@ Contents ...@@ -20,5 +20,5 @@ Contents
internal/index internal/index
NEWS NEWS
examples/index examples/index
sandbox/index proposals/index
=======
Indexes
=======
The following indexes are generated automatically and cover most
:ref:`Ops <op>`, :ref:`Types <type>` and :ref:`Optimizers <optimization>`
in Theano.
.. toctree::
:maxdepth: 1
oplist
typelist
============ =======================================
Using Module :mod:`module` -- a theano object system
============ =======================================
.. note::
Module addresses similar needs to `shared`. New code is encouraged to
use `shared` variables.
Now that we're familiar with the basics, we introduce Theano's more Now that we're familiar with the basics, we introduce Theano's more
advanced interface, Module. This interface allows you to define Theano advanced interface, Module. This interface allows you to define Theano
......
.. _floatX:
======================== .. _libdoc_floatX:
Special data type floatX
========================
Intro =======================================================================
===== :mod:`floatX` -- easy switching between float32 and float64 [doc TODO]
=======================================================================
Their is a special data type called floatX. It is not a real datatype. It is never present in the theano graph, but their exist constructor and function that will change the floatX to float32 or float64(default) in your graph. You can change the value of floatX when you start the execution of python by setting the environement variables THEANO_GPU=floatX=float{32,64}(case sensitive). You can have the value of floatX with:: Their is a special data type called floatX. It is not a real datatype. It is never present in the theano graph, but their exist constructor and function that will change the floatX to float32 or float64(default) in your graph. You can change the value of floatX when you start the execution of python by setting the environement variables THEANO_GPU=floatX=float{32,64}(case sensitive). You can have the value of floatX with::
......
====================================== =============================================
Proposal for pfunc Function Interface Proposal for pfunc Function Interface [DONE]
====================================== =============================================
.. note:: .. note::
......
...@@ -75,15 +75,17 @@ if __name__ == '__main__': ...@@ -75,15 +75,17 @@ if __name__ == '__main__':
options['--all'] = not (bool(options['--epydoc']) ^ bool(options['--rst'])) options['--all'] = not (bool(options['--epydoc']) ^ bool(options['--rst']))
import gen_oplist if 0:
print 'Generating oplist...' import gen_oplist
gen_oplist.print_file(open('%s/doc/indexes/oplist.txt' % throot, 'w')) print 'Generating oplist...'
print 'oplist done!' gen_oplist.print_file(open('%s/doc/indexes/oplist.txt' % throot, 'w'))
print 'oplist done!'
import gen_typelist
print 'Generating typelist...' if 0:
gen_typelist.print_file(open('%s/doc/indexes/typelist.txt' % throot, 'w')) import gen_typelist
print 'typelist done!' print 'Generating typelist...'
gen_typelist.print_file(open('%s/doc/indexes/typelist.txt' % throot, 'w'))
print 'typelist done!'
def mkdir(path): def mkdir(path):
try: try:
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论