提交 abe2d24c authored 作者: Arnaud Bergeron's avatar Arnaud Bergeron

Fix the sparse docs return types to avoid warnings.

上级 3bfa8dbd
...@@ -790,7 +790,7 @@ shape ...@@ -790,7 +790,7 @@ shape
Returns Returns
------- -------
matrix sparse matrix
A sparse matrix having the properties specified by the inputs. A sparse matrix having the properties specified by the inputs.
Notes Notes
...@@ -820,7 +820,7 @@ shape ...@@ -820,7 +820,7 @@ shape
Returns Returns
------- -------
matrix sparse matrix
A sparse matrix having the properties specified by the inputs. A sparse matrix having the properties specified by the inputs.
Notes Notes
...@@ -1053,7 +1053,7 @@ x ...@@ -1053,7 +1053,7 @@ x
Returns Returns
------- -------
matrix theano.tensor.matrix
A dense matrix, the same as `x`. A dense matrix, the same as `x`.
Notes Notes
...@@ -1121,7 +1121,7 @@ x ...@@ -1121,7 +1121,7 @@ x
Returns Returns
------- -------
matrix sparse matrix
The same as `x` in a sparse csr matrix format. The same as `x` in a sparse csr matrix format.
""" """
...@@ -1137,7 +1137,7 @@ x ...@@ -1137,7 +1137,7 @@ x
Returns Returns
------- -------
matrix sparse matrix
The same as `x` in a sparse csc matrix format. The same as `x` in a sparse csc matrix format.
""" """
...@@ -1187,7 +1187,7 @@ index ...@@ -1187,7 +1187,7 @@ index
Returns Returns
------- -------
matrix sparse matrix
The corresponding rows in `x`. The corresponding rows in `x`.
""" """
...@@ -1284,7 +1284,7 @@ index ...@@ -1284,7 +1284,7 @@ index
Returns Returns
------- -------
vector theano.tensor.vector
The corresponding elements in `x`. The corresponding elements in `x`.
""" """
...@@ -1436,7 +1436,8 @@ index ...@@ -1436,7 +1436,8 @@ index
Returns Returns
------- -------
The corresponding slice in `x`. sparse matrix
The corresponding slice in `x`.
Notes Notes
...@@ -1511,7 +1512,7 @@ index ...@@ -1511,7 +1512,7 @@ index
Returns Returns
------- -------
scalar theano.tensor.scalar
The corresponding item in `x`. The corresponding item in `x`.
Notes Notes
...@@ -1566,7 +1567,7 @@ x ...@@ -1566,7 +1567,7 @@ x
Returns Returns
------- -------
matrix sparse matrix
`x` transposed. `x` transposed.
Notes Notes
...@@ -1617,7 +1618,7 @@ x ...@@ -1617,7 +1618,7 @@ x
Returns Returns
------- -------
matrix sparse matrix
-`x`. -`x`.
Notes Notes
...@@ -1930,7 +1931,7 @@ x ...@@ -1930,7 +1931,7 @@ x
Returns Returns
------- -------
vector theano.tensor.vector
A dense vector representing the diagonal elements. A dense vector representing the diagonal elements.
Notes Notes
...@@ -1985,7 +1986,7 @@ x ...@@ -1985,7 +1986,7 @@ x
Returns Returns
------- -------
matrix sparse matrix
A sparse matrix having `x` as diagonal. A sparse matrix having `x` as diagonal.
Notes Notes
...@@ -2044,7 +2045,7 @@ x ...@@ -2044,7 +2045,7 @@ x
Returns Returns
------- -------
matrix sparse matrix
The same as `x` with indices sorted. The same as `x` with indices sorted.
Notes Notes
...@@ -2854,7 +2855,7 @@ y ...@@ -2854,7 +2855,7 @@ y
Returns Returns
------- -------
matrix matrix variable
`x` == `y` `x` == `y`
Notes Notes
...@@ -2875,7 +2876,7 @@ y ...@@ -2875,7 +2876,7 @@ y
Returns Returns
------- -------
matrix matrix variable
`x` != `y` `x` != `y`
Notes Notes
...@@ -2896,7 +2897,7 @@ y ...@@ -2896,7 +2897,7 @@ y
Returns Returns
------- -------
matrix matrix variable
`x` < `y` `x` < `y`
Notes Notes
...@@ -2917,7 +2918,7 @@ y ...@@ -2917,7 +2918,7 @@ y
Returns Returns
------- -------
matrix matrix variable
`x` > `y` `x` > `y`
Notes Notes
...@@ -2937,6 +2938,7 @@ y ...@@ -2937,6 +2938,7 @@ y
Returns Returns
------- -------
matrix variable
`x` <= `y` `x` <= `y`
Notes Notes
...@@ -2957,7 +2959,7 @@ y ...@@ -2957,7 +2959,7 @@ y
Returns Returns
------- -------
matrix matrix variable
`x` >= `y` `x` >= `y`
Notes Notes
...@@ -3199,7 +3201,7 @@ x ...@@ -3199,7 +3201,7 @@ x
Returns Returns
------- -------
matrix sparse matrix
Exactly `x` but with a data attribute exempt of zeros. Exactly `x` but with a data attribute exempt of zeros.
Notes Notes
...@@ -4112,7 +4114,7 @@ p ...@@ -4112,7 +4114,7 @@ p
Returns Returns
------- -------
matrix sparse matrix
A dense matrix containing the dot product of `x` by `y`.T only A dense matrix containing the dot product of `x` by `y`.T only
where `p` is 1. where `p` is 1.
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论