Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
P
pytensor
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
testgroup
pytensor
Commits
08963819
提交
08963819
authored
3月 17, 2016
作者:
Frédéric Bastien
浏览文件
操作
浏览文件
下载
差异文件
Merge pull request #4239 from sygi/sparse-tutorial-typo
(nit) sparse tutorial typos
上级
cb1184d4
0da6d47e
显示空白字符变更
内嵌
并排
正在显示
2 个修改的文件
包含
5 行增加
和
5 行删除
+5
-5
index.txt
doc/library/sparse/index.txt
+2
-2
sparse.txt
doc/tutorial/sparse.txt
+3
-3
没有找到文件。
doc/library/sparse/index.txt
浏览文件 @
08963819
...
@@ -31,11 +31,11 @@ found `here
...
@@ -31,11 +31,11 @@ found `here
.. Changes to this section should also result in changes to tutorial/sparse.txt.
.. Changes to this section should also result in changes to tutorial/sparse.txt.
Theano supports two *compressed sparse formats* ``csc`` and ``csr``,
Theano supports two *compressed sparse formats*
:
``csc`` and ``csr``,
respectively based on columns and rows. They have both the same
respectively based on columns and rows. They have both the same
attributes: ``data``, ``indices``, ``indptr`` and ``shape``.
attributes: ``data``, ``indices``, ``indptr`` and ``shape``.
* The ``data`` attribute is a one-dimen
tion
nal ``ndarray`` which
* The ``data`` attribute is a one-dimen
sio
nal ``ndarray`` which
contains all the non-zero elements of the sparse matrix.
contains all the non-zero elements of the sparse matrix.
* The ``indices`` and ``indptr`` attributes are used to store the
* The ``indices`` and ``indptr`` attributes are used to store the
...
...
doc/tutorial/sparse.txt
浏览文件 @
08963819
...
@@ -15,7 +15,7 @@ as *dense* matrices.
...
@@ -15,7 +15,7 @@ as *dense* matrices.
Theano's sparse package provides efficient algorithms, but its use is not recommended
Theano's sparse package provides efficient algorithms, but its use is not recommended
in all cases or for all matrices. As an obvious example, consider the case where
in all cases or for all matrices. As an obvious example, consider the case where
the *sparsity proportion* i
f
very low. The *sparsity proportion* refers to the
the *sparsity proportion* i
s
very low. The *sparsity proportion* refers to the
ratio of the number of zero elements to the number of all elements in a matrix.
ratio of the number of zero elements to the number of all elements in a matrix.
A low sparsity proportion may result in the use of more space in memory
A low sparsity proportion may result in the use of more space in memory
since not only the actual data is stored, but also the position of nearly every
since not only the actual data is stored, but also the position of nearly every
...
@@ -56,10 +56,10 @@ Compressed Sparse Format
...
@@ -56,10 +56,10 @@ Compressed Sparse Format
.. Changes to this section should also result in changes to library/sparse/index.txt.
.. Changes to this section should also result in changes to library/sparse/index.txt.
Theano supports two *compressed sparse formats*
``csc`` and ``csr``, respectively based on columns
Theano supports two *compressed sparse formats*
:
``csc`` and ``csr``, respectively based on columns
and rows. They have both the same attributes: ``data``, ``indices``, ``indptr`` and ``shape``.
and rows. They have both the same attributes: ``data``, ``indices``, ``indptr`` and ``shape``.
* The ``data`` attribute is a one-dimen
tion
nal ``ndarray`` which contains all the non-zero
* The ``data`` attribute is a one-dimen
sio
nal ``ndarray`` which contains all the non-zero
elements of the sparse matrix.
elements of the sparse matrix.
* The ``indices`` and ``indptr`` attributes are used to store the position of the data in the
* The ``indices`` and ``indptr`` attributes are used to store the position of the data in the
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论