Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
P
pytensor
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
testgroup
pytensor
Commits
4929b406
提交
4929b406
authored
12月 13, 2013
作者:
Frederic
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Fix doc link and add doc for numba.
上级
6633f6fd
隐藏空白字符变更
内嵌
并排
正在显示
2 个修改的文件
包含
27 行增加
和
11 行删除
+27
-11
other_ops.txt
doc/extending/other_ops.txt
+21
-7
extending_theano.txt
doc/tutorial/extending_theano.txt
+6
-4
没有找到文件。
doc/extending/other_ops.txt
浏览文件 @
4929b406
.. _
theano_random
:
.. _
other_ops
:
=============================
Implementing some specific Op
...
...
@@ -11,8 +11,9 @@ strategy.
.. _scalar_ops:
Scalar/Elemwise/Reduction Operation
===================================
Scalar/Elemwise/Reduction Ops
=============================
Implementing a Theano scalar allow that scalar operation to be reused
by our elemwise operation. If the scalar operation it have c code, the
...
...
@@ -30,8 +31,9 @@ Take care
.. _scipy_ops:
SciPy
=====
SciPy Ops
=========
We can wrap SciPy functions in Theano. But SciPy is an optional dependency.
Here is some code that allows the Op to be optional:
...
...
@@ -61,8 +63,9 @@ Here is some code that allows the Op to be optional:
...
.. _sparse_ops:
Sparse
======
Sparse Ops
==========
There is few differences if you want to make an op that use
:ref:`sparse <tutsparse>` inputs or outputs. In particular, in the
...
...
@@ -146,6 +149,7 @@ take many paramters including parameters for the format (csr or csc), the shape,
dtype, to have explicit 0 and to have unsorted indices.
.. _random_ops:
Random distribution
===================
...
...
@@ -210,3 +214,13 @@ we disable it by default. But we have all the code to have it enabled
by default if there is more then 1 cores and that the environment
variable OMP_NUM_THREADS isn't 1. This allow Theano to respect the
current convention.
.. _numba_ops:
Numba Ops
=========
Want C speed without doing C code for your new Op? You can use Numba
to generate the C code for you! Here is an `example
Op <https://gist.github.com/nouiz/5492778#file-theano_op-py>`_ doing that.
doc/tutorial/extending_theano.txt
浏览文件 @
4929b406
...
...
@@ -434,10 +434,12 @@ the advanced tutorial :ref:`Extending Theano<extending>`
The section :ref:`Other ops <other_ops>` include more instruction for specific case:
- :ref:`scalar operation <scalar_ops>`
- :ref:`wrapping scipy funciton <scipy_ops>`
- :ref:`sparse ops <sparse_ops>`
- :ref:`random ops <random_ops>`.
- :ref:`scalar_ops`
- :ref:`scipy_ops`
- :ref:`sparse_ops`
- :ref:`Random ops <random_ops>`
- :ref:`openmp_ops`
- :ref:`numba_ops`
See :ref:`metadocumentation`, for some information on how to generate
the documentation.
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论