提交 bad66778 authored 作者: goodfeli's avatar goodfeli

Merge pull request #31 from nouiz/doc_sparse

Doc sparse
...@@ -17,6 +17,7 @@ Types and Ops that you can use to build and compile expression graphs. ...@@ -17,6 +17,7 @@ Types and Ops that you can use to build and compile expression graphs.
printing printing
compile/index compile/index
sparse/index sparse/index
sparse/sandbox
scalar/index scalar/index
gof/index gof/index
scan scan
......
...@@ -53,3 +53,19 @@ There are no GPU implementations for sparse matrices implemented in Theano. ...@@ -53,3 +53,19 @@ There are no GPU implementations for sparse matrices implemented in Theano.
Some documentation for sparse has been written Some documentation for sparse has been written
`here <http://deeplearning.net/software/theano/sandbox/sparse.html>`_. `here <http://deeplearning.net/software/theano/sandbox/sparse.html>`_.
===================================================================
:mod:`sparse.sandbox` -- Sparse Op
===================================================================
.. module:: sparse.sandbox
:platform: Unix, Windows
:synopsis: Sparse Op
.. moduleauthor:: LISA
API
===
.. automodule:: theano.sparse.basic
:members:
.. ../../../../theano/sparse/sandbox/sp.py
.. ../../../../theano/sparse/sandbox/truedot.py
.. _libdoc_sparse_sandbox:
===================================================================
:mod:`sparse.sandbox` -- Sparse Op Sandbox
===================================================================
.. module:: sparse.sandbox
:platform: Unix, Windows
:synopsis: Sparse Op Sandbox
.. moduleauthor:: LISA
API
===
.. automodule:: theano.sparse.sandbox.sp
:members:
.. automodule:: theano.sparse.sandbox.truedot
:members:
...@@ -79,9 +79,9 @@ def _kmap_hash(a): ...@@ -79,9 +79,9 @@ def _kmap_hash(a):
def as_sparse_variable(x, name=None): def as_sparse_variable(x, name=None):
""" """
Wrapper around SparseVariable constructor. Wrapper around SparseVariable constructor.
@param x: A sparse matrix. as_sparse_variable reads dtype and format properties @param x: A sparse matrix. as_sparse_variable reads dtype and format
out of this sparse matrix. properties out of this sparse matrix.
@return: SparseVariable version of sp. @return: SparseVariable version of sp.
@todo Verify that sp is sufficiently sparse, and raise a warning if it is not @todo Verify that sp is sufficiently sparse, and raise a warning if it is not
""" """
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论