Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
P
pytensor
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
testgroup
pytensor
Commits
99fcfdcb
提交
99fcfdcb
authored
6月 17, 2016
作者:
Chinnadhurai Sankar
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
fix based on comments
上级
e532461d
显示空白字符变更
内嵌
并排
正在显示
4 个修改的文件
包含
17 行增加
和
10 行删除
+17
-10
callcache.py
theano/gof/callcache.py
+2
-2
cc.py
theano/gof/cc.py
+10
-5
cmodule.py
theano/gof/cmodule.py
+2
-1
link.py
theano/gof/link.py
+3
-2
没有找到文件。
theano/gof/callcache.py
浏览文件 @
99fcfdcb
...
...
@@ -30,8 +30,8 @@ class CallCache(object):
Retrieve item from the cache(if available)
based on a key
Parameters
----------
--
Parameters
:
----------
key
parameter to retrieve cache item
fn,args
...
...
theano/gof/cc.py
浏览文件 @
99fcfdcb
...
...
@@ -154,7 +154,7 @@ def code_gen(blocks):
}
Parameters:
----------
------
----------
blocks
List of CodeBlock instances such that
* declarations, behavior and cleanup are in the run()
...
...
@@ -1170,7 +1170,10 @@ class CLinker(link.Linker):
be allocated.
storage_map: dict that map variables to storages.
This is used when you need to customize the storage of
this thunk.keep_lock
this thunk
keep_lock:
If True, we won't release the lock on the compiledir
at the end of this function call.
Returns: thunk, input_storage, output_storage
The return values can be used as follows:
...
...
@@ -1559,7 +1562,7 @@ class CLinker(link.Linker):
can carry on the computation of this linker's fgraph
Parameters:
----------
-----
----------
error_storage -> list of length 3
in_storage -> list of lists of length 1, one per input
out_storage -> list of lists of length 1, one per output
...
...
@@ -1840,8 +1843,10 @@ def _default_checker(x, y):
"""
Default checker for DualLinker. This checks that the
variables contain the same data using ==.
Parameters
-------------
Parameters:
----------
x,y
the variables to compare data
"""
...
...
theano/gof/cmodule.py
浏览文件 @
99fcfdcb
...
...
@@ -1481,7 +1481,8 @@ def _rmtree(parent, ignore_nocleanup=False, msg='', level=logging.DEBUG,
So instead, some commands in this file will respond to a
failed rmtree() by touching a 'delete.me' file. This file is a message
for a future process to try deleting the directory.
Paramters
Parameters:
----------
parent
Root node to start deleting from
...
...
theano/gof/link.py
浏览文件 @
99fcfdcb
...
...
@@ -60,8 +60,9 @@ def thunk_hook(type, value, trace):
and prints it out on L{stderr}.
The normal excepthook is then called.
Parameters
------------
Parameters:
----------
type
Exception class
value
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论