提交 187be3e1 authored 作者: Frederic's avatar Frederic

Added auto doc about sparse and fix this new auto doc warning.

上级 a35df410
......@@ -53,3 +53,19 @@ There are no GPU implementations for sparse matrices implemented in Theano.
Some documentation for sparse has been written
`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:
......@@ -79,9 +79,9 @@ def _kmap_hash(a):
def as_sparse_variable(x, name=None):
"""
Wrapper around SparseVariable constructor.
@param x: A sparse matrix. as_sparse_variable reads dtype and format properties
out of this sparse matrix.
@return: SparseVariable version of sp.
@param x: A sparse matrix. as_sparse_variable reads dtype and format
properties out of this sparse matrix.
@return: SparseVariable version of sp.
@todo Verify that sp is sufficiently sparse, and raise a warning if it is not
"""
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论