Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
P
pytensor
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
testgroup
pytensor
Commits
0efa9077
提交
0efa9077
authored
10月 05, 2014
作者:
Olivier Delalleau
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Minor typo fixes
上级
d451f951
隐藏空白字符变更
内嵌
并排
正在显示
3 个修改的文件
包含
5 行增加
和
5 行删除
+5
-5
extending_theano.txt
doc/tutorial/extending_theano.txt
+3
-3
python.txt
doc/tutorial/python.txt
+1
-1
var.py
theano/sandbox/cuda/var.py
+1
-1
没有找到文件。
doc/tutorial/extending_theano.txt
浏览文件 @
0efa9077
...
@@ -444,8 +444,8 @@ signature:
...
@@ -444,8 +444,8 @@ signature:
.. note::
.. note::
Not providing the `infer_shape` method
cause shapes
-related
Not providing the `infer_shape` method
prevents shape
-related
optimization
to not work with that
op. For example
optimization
s from working with this
op. For example
`your_op(inputs, ...).shape` will need the op to be executed just
`your_op(inputs, ...).shape` will need the op to be executed just
to get the shape.
to get the shape.
...
@@ -456,7 +456,7 @@ signature:
...
@@ -456,7 +456,7 @@ signature:
.. note::
.. note::
It converts the
p
ython function to a callable object that takes as
It converts the
P
ython function to a callable object that takes as
inputs Theano variables that were declared.
inputs Theano variables that were declared.
...
...
doc/tutorial/python.txt
浏览文件 @
0efa9077
...
@@ -11,6 +11,6 @@ tutorials/exercises if you need to learn it or only need a refresher:
...
@@ -11,6 +11,6 @@ tutorials/exercises if you need to learn it or only need a refresher:
* `Python Challenge <http://www.pythonchallenge.com/>`__
* `Python Challenge <http://www.pythonchallenge.com/>`__
* `Dive into Python <http://diveintopython.net/>`__
* `Dive into Python <http://diveintopython.net/>`__
* `Google Python Class <http://code.google.com/edu/languages/google-python-class/index.html>`__
* `Google Python Class <http://code.google.com/edu/languages/google-python-class/index.html>`__
* `Enthought
p
ython course <https://training.enthought.com/?utm_source=academic&utm_medium=email&utm_campaign=EToD-Launch#/courses>`__ (free for academics)
* `Enthought
P
ython course <https://training.enthought.com/?utm_source=academic&utm_medium=email&utm_campaign=EToD-Launch#/courses>`__ (free for academics)
We have a tutorial on how :ref:`Python manages its memory <python-memory-management>`.
We have a tutorial on how :ref:`Python manages its memory <python-memory-management>`.
theano/sandbox/cuda/var.py
浏览文件 @
0efa9077
...
@@ -52,7 +52,7 @@ class CudaNdarrayConstant(_operators, Constant):
...
@@ -52,7 +52,7 @@ class CudaNdarrayConstant(_operators, Constant):
try
:
try
:
data
=
str
(
numpy
.
asarray
(
self
.
data
))
data
=
str
(
numpy
.
asarray
(
self
.
data
))
except
Exception
,
e
:
except
Exception
,
e
:
data
=
"error while transfer
ing the value:
"
+
str
(
e
)
data
=
"error while transfer
ring the value:
"
+
str
(
e
)
return
"CudaNdarrayConstant{"
+
data
+
"}"
return
"CudaNdarrayConstant{"
+
data
+
"}"
CudaNdarrayType
.
Constant
=
CudaNdarrayConstant
CudaNdarrayType
.
Constant
=
CudaNdarrayConstant
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论