Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
P
pytensor
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
testgroup
pytensor
Commits
08bff8ea
提交
08bff8ea
authored
1月 08, 2013
作者:
Frederic
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
remove warning when generating the documentation.
上级
7b8d668f
隐藏空白字符变更
内嵌
并排
正在显示
6 个修改的文件
包含
24 行增加
和
21 行删除
+24
-21
index.txt
doc/index.txt
+1
-1
basic.txt
doc/library/tensor/basic.txt
+3
-2
examples.txt
doc/tutorial/examples.txt
+3
-3
gradient.py
theano/gradient.py
+5
-5
basic_ops.py
theano/sandbox/cuda/basic_ops.py
+6
-5
basic.py
theano/tensor/basic.py
+6
-5
没有找到文件。
doc/index.txt
浏览文件 @
08bff8ea
...
...
@@ -135,7 +135,7 @@ Community
* We use `Github tickets <http://github.com/Theano/Theano/issues>`__ to keep track of issues
(however, some old tickets can still be found on
`
`
Assembla <http://www.assembla.com/spaces/theano/tickets>`__).
`Assembla <http://www.assembla.com/spaces/theano/tickets>`__).
* Come visit us in Montreal! Most developers are students in the LISA_ group at the `University of Montreal`_.
...
...
doc/library/tensor/basic.txt
浏览文件 @
08bff8ea
...
...
@@ -1220,6 +1220,7 @@ Linear Algebra
:param x: A Tensor with sizes e.g.: for 3D (dim1, dim3, dim2)
:param y: A Tensor with sizes e.g.: for 3D (dim1, dim2, dim4)
This function computes the dot product between the two tensors, by iterating
over the first dimension using scan.
Returns a tensor of size e.g. if it is 3D: (dim1, dim3, dim4)
...
...
@@ -1229,8 +1230,8 @@ Linear Algebra
>>> result = batched_dot(first, second)
:note: This is a subset of numpy.einsum, but we do not provide it for now.
But numpy einsum is slower than dot or tensordot:
http://mail.scipy.org/pipermail/numpy-discussion/2012-October/064259.html
But numpy einsum is slower than dot or tensordot:
http://mail.scipy.org/pipermail/numpy-discussion/2012-October/064259.html
:param X: left term
:param Y: right term
...
...
doc/tutorial/examples.txt
浏览文件 @
08bff8ea
...
...
@@ -433,12 +433,12 @@ to another is shown below.
This gives the following output:
.. code-block::
shell
.. code-block::
bash
By default, the two functions are out of sync.
#
By default, the two functions are out of sync.
f1() returns [ 0.72803009]
f2() returns [ 0.55056769]
We now copy the state of the theano random number generators.
#
We now copy the state of the theano random number generators.
f1() returns [ 0.59044123]
f2() returns [ 0.59044123]
...
...
theano/gradient.py
浏览文件 @
08bff8ea
...
...
@@ -384,11 +384,11 @@ def grad(cost, wrt, consider_constant=None,
:type return_disconnected: string
:param return_disconnected:
'zero' : If wrt[i] is disconnected, return value i will be
wrt[i].zeros_like()
'None' : If wrt[i] is disconnected, return value i will be
None
'Disconnected' : returns variables of type DisconnectedType
-
'zero' : If wrt[i] is disconnected, return value i will be
wrt[i].zeros_like()
-
'None' : If wrt[i] is disconnected, return value i will be
None
-
'Disconnected' : returns variables of type DisconnectedType
:rtype: Variable or list/tuple of Variables (depending upon `wrt`)
...
...
theano/sandbox/cuda/basic_ops.py
浏览文件 @
08bff8ea
...
...
@@ -2443,9 +2443,10 @@ class GpuIncSubtensor(tensor.IncSubtensor, GpuOp):
def
copy_of_x
(
self
,
x
):
"""
x: a string giving the name of a C variable pointing to an array
:param x: a string giving the name of a C variable
pointing to an array
Returns C code expression to make a copy of x.
:return: C code expression to make a copy of x
Base class uses PyArrayObject *, subclasses may override for
different types of arrays.
...
...
@@ -2454,9 +2455,9 @@ class GpuIncSubtensor(tensor.IncSubtensor, GpuOp):
def
make_view_array
(
self
,
x
,
view_ndim
):
"""
x: a string identifying an array to be viewed
view_ndim: a string specifying the number of dimensions
to have in the view
:param
x: a string identifying an array to be viewed
:param
view_ndim: a string specifying the number of dimensions
to have in the view
This doesn't need to actually set up the view with the
right indexing; we'll do that manually later.
...
...
theano/tensor/basic.py
浏览文件 @
08bff8ea
...
...
@@ -4971,9 +4971,10 @@ class IncSubtensor(Op):
def
copy_of_x
(
self
,
x
):
"""
x: a string giving the name of a C variable pointing to an array
:param x: a string giving the name of a C variable
pointing to an array
Returns C code expression to make a copy of x.
:return: C code expression to make a copy of x
Base class uses PyArrayObject *, subclasses may override for
different types of arrays.
...
...
@@ -4991,9 +4992,9 @@ class IncSubtensor(Op):
def
make_view_array
(
self
,
x
,
view_ndim
):
"""
x: a string identifying an array to be viewed
view_ndim: a string specifying the number of dimensions
to have in the view
:param
x: a string identifying an array to be viewed
:param
view_ndim: a string specifying the number of dimensions
to have in the view
This doesn't need to actually set up the view with the
right indexing; we'll do that manually later.
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论