Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
P
pytensor
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
testgroup
pytensor
Commits
8d4e0fd0
提交
8d4e0fd0
authored
5月 12, 2016
作者:
Mikhail Korobov
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
DOC recommend pydot-ng
上级
5494d94a
显示空白字符变更
内嵌
并排
正在显示
6 个修改的文件
包含
12 行增加
和
13 行删除
+12
-13
advanced_theano.txt
doc/cifarSC2011/advanced_theano.txt
+1
-1
advanced_theano.txt
doc/crei2013/advanced_theano.txt
+1
-1
install.txt
doc/install.txt
+2
-1
index.txt
doc/library/d3viz/index.txt
+2
-6
formatting.py
theano/d3viz/formatting.py
+3
-2
printing.py
theano/printing.py
+3
-2
没有找到文件。
doc/cifarSC2011/advanced_theano.txt
浏览文件 @
8d4e0fd0
...
@@ -464,7 +464,7 @@ The graph after optimization:
...
@@ -464,7 +464,7 @@ The graph after optimization:
Picture Printing of Graphs
Picture Printing of Graphs
~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~~~~~~~~~~~~~~~~~
``pydotprint`` requires graphviz and
pydot
.
``pydotprint`` requires graphviz and
either pydot or pydot-ng
.
The graph before optimization:
The graph before optimization:
...
...
doc/crei2013/advanced_theano.txt
浏览文件 @
8d4e0fd0
...
@@ -202,7 +202,7 @@ The graph after optimization:
...
@@ -202,7 +202,7 @@ The graph after optimization:
Picture Printing of Graphs
Picture Printing of Graphs
~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~~~~~~~~~~~~~~~~~
``pydotprint`` requires graphviz and
pydot
.
``pydotprint`` requires graphviz and
either pydot or pydot-ng
.
The graph before optimization:
The graph before optimization:
...
...
doc/install.txt
浏览文件 @
8d4e0fd0
...
@@ -59,7 +59,8 @@ The following libraries and software are optional:
...
@@ -59,7 +59,8 @@ The following libraries and software are optional:
`Git <http://git-scm.com>`_
`Git <http://git-scm.com>`_
To download bleeding-edge versions of Theano.
To download bleeding-edge versions of Theano.
`pydot-ng <https://github.com/pydot/pydot-ng>`_ or `pydot <https://code.google.com/p/pydot/>`_
`graphiz <http://www.graphviz.org/>`__ and either
``pydot-ng <https://github.com/pydot/pydot-ng>`_ or `pydot <https://code.google.com/p/pydot/>`_
To be able to make picture of Theano computation graph.
To be able to make picture of Theano computation graph.
pydot-ng is a pydot compatible replacement that support newer Python.
pydot-ng is a pydot compatible replacement that support newer Python.
...
...
doc/library/d3viz/index.txt
浏览文件 @
8d4e0fd0
...
@@ -17,12 +17,8 @@ Requirements
...
@@ -17,12 +17,8 @@ Requirements
------------
------------
``d3viz`` requires the `pydot <https://pypi.python.org/pypi/pydot>`__
``d3viz`` requires the `pydot <https://pypi.python.org/pypi/pydot>`__
package. If you're using Python 2.x install pydot with pip::
package. `pydot-ng <https://github.com/pydot/pydot-ng>`__ fork is better
maintained, and it works both in Python 2.x and 3.x. Install it with pip::
pip install pydot
In Python 3.x install `pydot-ng <https://pypi.python.org/pypi/pydot-ng>`__
fork instead::
pip install pydot-ng
pip install pydot-ng
...
...
theano/d3viz/formatting.py
浏览文件 @
8d4e0fd0
...
@@ -52,8 +52,9 @@ class PyDotFormatter(object):
...
@@ -52,8 +52,9 @@ class PyDotFormatter(object):
def
__init__
(
self
,
compact
=
True
):
def
__init__
(
self
,
compact
=
True
):
"""Construct PyDotFormatter object."""
"""Construct PyDotFormatter object."""
if
not
pydot_imported
:
if
not
pydot_imported
:
raise
ImportError
(
'Failed to import pydot. You must install pydot'
raise
ImportError
(
'Failed to import pydot. You must install '
' and graphviz for `PyDotFormatter` to work.'
)
'graphviz and either pydot or pydot-ng for '
'`PyDotFormatter` to work.'
)
self
.
compact
=
compact
self
.
compact
=
compact
self
.
node_colors
=
{
'input'
:
'limegreen'
,
self
.
node_colors
=
{
'input'
:
'limegreen'
,
...
...
theano/printing.py
浏览文件 @
8d4e0fd0
...
@@ -747,8 +747,9 @@ def pydotprint(fct, outfile=None,
...
@@ -747,8 +747,9 @@ def pydotprint(fct, outfile=None,
outputs
=
fct
.
outputs
outputs
=
fct
.
outputs
topo
=
fct
.
toposort
()
topo
=
fct
.
toposort
()
if
not
pydot_imported
:
if
not
pydot_imported
:
raise
RuntimeError
(
"Failed to import pydot. You must install pydot"
raise
RuntimeError
(
"Failed to import pydot. You must install graphviz"
" and graphviz for `pydotprint` to work."
,
" and either pydot or pydot-ng for "
"`pydotprint` to work."
,
pydot_imported_msg
)
pydot_imported_msg
)
g
=
pd
.
Dot
()
g
=
pd
.
Dot
()
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论