Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
P
pytensor
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
testgroup
pytensor
Commits
07334890
提交
07334890
authored
9月 29, 2014
作者:
Pierre Luc Carrier
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Added links to class Op's C code related methods.
上级
4262045b
隐藏空白字符变更
内嵌
并排
正在显示
1 个修改的文件
包含
12 行增加
和
11 行删除
+12
-11
extending_theano_c.txt
doc/tutorial/extending_theano_c.txt
+12
-11
没有找到文件。
doc/tutorial/extending_theano_c.txt
浏览文件 @
07334890
...
@@ -272,21 +272,22 @@ code. This allows for faster compilation times.
...
@@ -272,21 +272,22 @@ code. This allows for faster compilation times.
See :ref:`cop` for the full documentation of the various methods of the
See :ref:`cop` for the full documentation of the various methods of the
class Op that are related to the C implementation. Of particular interest are:
class Op that are related to the C implementation. Of particular interest are:
* The methods
c_libraries() and c_lib_dirs() to allow your op to use
* The methods
:meth:`Op.c_libraries` and :meth:`Op.c_lib_dirs` to allow
external libraries.
your op to use
external libraries.
* The method
c_code_cleanup() to specify how the op should clean up
* The method
:meth:`Op.c_code_cleanup` to specify how the op should
what it has allocated during its execution.
clean up
what it has allocated during its execution.
* The methods
c_init_code() and c_init_code_apply() to specify code
* The methods
:meth:`Op.c_init_code` and :meth:`Op.c_init_code_apply`
t
hat should be executed once when the module is initialized, before
t
o specify code that should be executed once when the module is
anything else is executed.
initialized, before
anything else is executed.
* The methods c_compile_args() and c_no_compile_args() to specify
* The methods :meth:`Op.c_compile_args` and
requirements regarding how the op's C code should be compiled.
:meth:`Op.c_no_compile_args` to specify requirements regarding how
the op's C code should be compiled.
This section describes the methods
c_code(), c_support_code()
and
This section describes the methods
:meth:`Op.c_code`, :meth:`Op.c_support_code`
and
c_code_cache_version()
because they are the ones that are most commonly
:meth:`Op.c_code_cache_version`
because they are the ones that are most commonly
used.
used.
.. method:: c_code(node, name, input_names, output_names, sub)
.. method:: c_code(node, name, input_names, output_names, sub)
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论