Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
P
pytensor
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
testgroup
pytensor
Commits
ecc95982
提交
ecc95982
authored
10月 09, 2015
作者:
scottsievert
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
clarifies Python 3 usage in documentation
上级
a5f75aa3
显示空白字符变更
内嵌
并排
正在显示
3 个修改的文件
包含
15 行增加
和
8 行删除
+15
-8
faq.txt
doc/faq.txt
+5
-0
install.txt
doc/install.txt
+9
-8
introduction.txt
doc/introduction.txt
+1
-0
没有找到文件。
doc/faq.txt
浏览文件 @
ecc95982
...
@@ -5,6 +5,11 @@
...
@@ -5,6 +5,11 @@
==========================
==========================
Frequently Asked Questions
Frequently Asked Questions
==========================
==========================
Does Theano support Python 3?
------------------------------
We support both Python 2 >= 2.6 and Python 3 >= 3.3.
TypeError: object of type 'TensorVariable' has no len()
TypeError: object of type 'TensorVariable' has no len()
-------------------------------------------------------
-------------------------------------------------------
...
...
doc/install.txt
浏览文件 @
ecc95982
...
@@ -20,11 +20,11 @@ instructions below for detailed installation steps):
...
@@ -20,11 +20,11 @@ instructions below for detailed installation steps):
We develop mainly on 64-bit Linux machines. other architectures are
We develop mainly on 64-bit Linux machines. other architectures are
not well-tested.
not well-tested.
Python_
>= 2.6
Python_
2 >= 2.6 or Python_ 3 >= 3.3
The development package (``python-dev`` or ``python-devel``
The development package (``python-dev`` or ``python-devel``
on most Linux distributions) is recommended (see just below).
on most Linux distributions) is recommended (see just below).
Python 2.4 was supported up to and including the release 0.6.
Python 2.4 was supported up to and including the release 0.6.
Python 3 is supported
via 2to3 only, starting from 3.3
.
Python 3 is supported
past the 3.3 release
.
``g++``, ``python-dev``
``g++``, ``python-dev``
Not technically required but *highly* recommended, in order to compile
Not technically required but *highly* recommended, in order to compile
...
@@ -147,7 +147,13 @@ by typing
...
@@ -147,7 +147,13 @@ by typing
pip install Theano
pip install Theano
You may need to add ``sudo`` before this command to install into your
This should work under Python 2 or Python 3. To test, run
.. code-block:: bash
nosetests theano
You may need to add ``sudo`` before the ``pip`` command to install into your
system's ``site-packages`` directory. If you do not have administrator access
system's ``site-packages`` directory. If you do not have administrator access
to your machine, you can install Theano locally (to ~/.local) using
to your machine, you can install Theano locally (to ~/.local) using
...
@@ -255,11 +261,6 @@ From here, the easiest way to get started is (this requires setuptools_ or distr
...
@@ -255,11 +261,6 @@ From here, the easiest way to get started is (this requires setuptools_ or distr
cd Theano
cd Theano
python setup.py develop
python setup.py develop
.. note::
"python setup.py develop ..." does not work on Python 3 as it does not call
the converter from Python 2 code to Python 3 code.
This will install a ``.pth`` file in your ``site-packages`` directory that
This will install a ``.pth`` file in your ``site-packages`` directory that
tells Python where to look for your Theano installation (i.e. in the
tells Python where to look for your Theano installation (i.e. in the
directory your just checked out of Github). Using ``develop`` mode is
directory your just checked out of Github). Using ``develop`` mode is
...
...
doc/introduction.txt
浏览文件 @
ecc95982
...
@@ -182,6 +182,7 @@ Here is the state of that vision as of December 3th, 2013 (after Theano release
...
@@ -182,6 +182,7 @@ Here is the state of that vision as of December 3th, 2013 (after Theano release
* Possible implementation note: allow Theano Variable in the fgraph to
* Possible implementation note: allow Theano Variable in the fgraph to
have more than 1 owner.
have more than 1 owner.
* We support Python 2 and Python 3.
* We have a CUDA backend for tensors of type `float32` only.
* We have a CUDA backend for tensors of type `float32` only.
* Efforts have begun towards a generic GPU ndarray (GPU tensor) (started in the
* Efforts have begun towards a generic GPU ndarray (GPU tensor) (started in the
`libgpuarray <https://github.com/Theano/libgpuarray>`_ project)
`libgpuarray <https://github.com/Theano/libgpuarray>`_ project)
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论