Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
P
pytensor
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
testgroup
pytensor
Commits
96e59102
提交
96e59102
authored
1月 11, 2015
作者:
Martin Thoma
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
doc/install.txt and doc/introduction.txt: Some spelling corrections
上级
5ec4c302
显示空白字符变更
内嵌
并排
正在显示
2 个修改的文件
包含
19 行增加
和
19 行删除
+19
-19
install.txt
doc/install.txt
+18
-18
introduction.txt
doc/introduction.txt
+1
-1
没有找到文件。
doc/install.txt
浏览文件 @
96e59102
...
@@ -210,7 +210,7 @@ If you are a developer of Theano, then check out the :ref:`dev_start_guide`.
...
@@ -210,7 +210,7 @@ If you are a developer of Theano, then check out the :ref:`dev_start_guide`.
If you want the bleeding-edge without developing the code you can use pip for
If you want the bleeding-edge without developing the code you can use pip for
this with the command line below. Note that it will also try to install Theano's dependencies
this with the command line below. Note that it will also try to install Theano's dependencies
(like
numpy and scip
y), but not upgrade them. If you wish to upgrade them,
(like
NumPy and SciP
y), but not upgrade them. If you wish to upgrade them,
remove the ``--no-deps`` switch to it, but go see a previous warning before doing this.
remove the ``--no-deps`` switch to it, but go see a previous warning before doing this.
.. code-block:: bash
.. code-block:: bash
...
@@ -365,7 +365,7 @@ There are many ways to configure BLAS for Theano. This is done with the Theano
...
@@ -365,7 +365,7 @@ There are many ways to configure BLAS for Theano. This is done with the Theano
flags ``blas.ldflags`` (:ref:`libdoc_config`). The default is to use the BLAS
flags ``blas.ldflags`` (:ref:`libdoc_config`). The default is to use the BLAS
installation information in NumPy, accessible via
installation information in NumPy, accessible via
``numpy.distutils.__config__.show()``. You can tell theano to use a different
``numpy.distutils.__config__.show()``. You can tell theano to use a different
version of BLAS, in case you did not compile
numpy with a fast BLAS or if nump
y
version of BLAS, in case you did not compile
NumPy with a fast BLAS or if NumP
y
was compiled with a static library of BLAS (the latter is not supported in
was compiled with a static library of BLAS (the latter is not supported in
Theano).
Theano).
...
@@ -412,7 +412,7 @@ that we use.
...
@@ -412,7 +412,7 @@ that we use.
3) Install the ATLAS library. ATLAS is an open source optimized version of
3) Install the ATLAS library. ATLAS is an open source optimized version of
BLAS. You can install a precompiled version on most OSes, but if you're willing
BLAS. You can install a precompiled version on most OSes, but if you're willing
to invest the time, you can compile it to have a faster version (we have seen
to invest the time, you can compile it to have a faster version (we have seen
speed-ups of up to 3
x, especia
ly on more recent computers, against the
speed-ups of up to 3
×, especial
ly on more recent computers, against the
precompiled one). On Fedora, ``sudo yum install atlas-devel``. Under Ubuntu,
precompiled one). On Fedora, ``sudo yum install atlas-devel``. Under Ubuntu,
``sudo apt-get install libatlas-base-dev libatlas-base`` or
``sudo apt-get install libatlas-base-dev libatlas-base`` or
``libatlas3gf-sse2`` if your CPU supports SSE2 instructions. Then set the
``libatlas3gf-sse2`` if your CPU supports SSE2 instructions. Then set the
...
@@ -544,7 +544,7 @@ If you are affiliated with a university (as student or employee), you can
...
@@ -544,7 +544,7 @@ If you are affiliated with a university (as student or employee), you can
download the installer for free.
download the installer for free.
EPD installation includes in particular Python (and the development headers),
EPD installation includes in particular Python (and the development headers),
numpy, scip
y, nose, sphinx, easy_install, pydot (but *not* `Graphviz`_, which is
NumPy, SciP
y, nose, sphinx, easy_install, pydot (but *not* `Graphviz`_, which is
necessary for it to work) and the MKL implementation of blas. The Mac OS and
necessary for it to work) and the MKL implementation of blas. The Mac OS and
Linux version do not include g++.
Linux version do not include g++.
...
@@ -570,14 +570,14 @@ terminal excute this command:
...
@@ -570,14 +570,14 @@ terminal excute this command:
$ sudo pip install --upgrade --no-deps git+git://github.com/Theano/Theano.git
$ sudo pip install --upgrade --no-deps git+git://github.com/Theano/Theano.git
See the section `install_bleeding_edge`_ for more
See the section `install_bleeding_edge`_ for more
information on the ble
a
ding edge version.
information on the ble
e
ding edge version.
Then you must install g++. You can do this by installing XCode. See the first bullet in the :ref:`macports` section.
Then you must install g++. You can do this by installing XCode. See the first bullet in the :ref:`macports` section.
.. note::
.. note::
If you use the trunk or version 0.6 or later of Theano, we try to
If you use the trunk or version 0.6 or later of Theano, we try to
automaticaly link with the EPD blas version. Due to Mac OS
automatical
l
y link with the EPD blas version. Due to Mac OS
peculiarities, we need a user intervention to do it. We detect
peculiarities, we need a user intervention to do it. We detect
if the user did the modification and if not, we tell him how to do
if the user did the modification and if not, we tell him how to do
it.
it.
...
@@ -593,7 +593,7 @@ will also be optimized as we will reuse the faster BLAS version
...
@@ -593,7 +593,7 @@ will also be optimized as we will reuse the faster BLAS version
automatically.
automatically.
Anaconda installation includes in particular Python (and the development headers),
Anaconda installation includes in particular Python (and the development headers),
numpy, scip
y, nose, sphinx, pip, and a acceptable BLAS version. The Mac OS and
NumPy, SciP
y, nose, sphinx, pip, and a acceptable BLAS version. The Mac OS and
Linux version do not include g++.
Linux version do not include g++.
After installing Anaconda, in a terminal execute this command to
After installing Anaconda, in a terminal execute this command to
...
@@ -611,21 +611,21 @@ To install the missing Theano optional dependency (pydot):
...
@@ -611,21 +611,21 @@ To install the missing Theano optional dependency (pydot):
If you want the bleeding edge version, `download
If you want the bleeding edge version, `download
and install git <http://git-scm.com/downloads>`_. Then in a
and install git <http://git-scm.com/downloads>`_. Then in a
terminal excute this command:
terminal ex
e
cute this command:
.. code-block:: bash
.. code-block:: bash
$ sudo pip install --upgrade --no-deps git+git://github.com/Theano/Theano.git
$ sudo pip install --upgrade --no-deps git+git://github.com/Theano/Theano.git
See the section `install_bleeding_edge`_ for more
See the section `install_bleeding_edge`_ for more
information on the ble
a
ding edge version.
information on the ble
e
ding edge version.
Then you must install g++. You can do this by installing XCode. See the first bullet in the :ref:`macports` section.
Then you must install g++. You can do this by installing XCode. See the first bullet in the :ref:`macports` section.
.. note::
.. note::
If you use the trunk or a version after 0.6rc3 of Theano, we try to
If you use the trunk or a version after 0.6rc3 of Theano, we try to
automaticaly link with the python library. Due to Mac OS
automatical
l
y link with the python library. Due to Mac OS
peculiarities, we need a user intervention to do it. We detect
peculiarities, we need a user intervention to do it. We detect
if the user did the modification and if not, we tell him how to do
if the user did the modification and if not, we tell him how to do
it.
it.
...
@@ -789,7 +789,7 @@ try the following.
...
@@ -789,7 +789,7 @@ try the following.
command on ``.so`` files found under your ``~/.theano`` directory. This will
command on ``.so`` files found under your ``~/.theano`` directory. This will
list shared libraries dependencies, and may help identify incompatibilities.
list shared libraries dependencies, and may help identify incompatibilities.
Please infom us if you have trouble installing and running Theano on your Mac.
Please info
r
m us if you have trouble installing and running Theano on your Mac.
We would be especially interested in dependencies that we missed listing,
We would be especially interested in dependencies that we missed listing,
alternate installation steps, GPU instructions, as well as tests that fail on
alternate installation steps, GPU instructions, as well as tests that fail on
your platform (use the ``theano-users@googlegroups.com`` mailing list, but
your platform (use the ``theano-users@googlegroups.com`` mailing list, but
...
@@ -816,11 +816,11 @@ If you are affiliated with a university (as student or employee), you can
...
@@ -816,11 +816,11 @@ If you are affiliated with a university (as student or employee), you can
download the installation for free.
download the installation for free.
EPD installation includes in particular Python (and the development headers),
EPD installation includes in particular Python (and the development headers),
numpy, scip
y, nose, sphinx, easy_install, pydot (but *not* `Graphviz`_, which is
NumPy, SciP
y, nose, sphinx, easy_install, pydot (but *not* `Graphviz`_, which is
necessary for it to work), g++, and the MKL
necessary for it to work), g++, and the MKL
implementation of blas.
implementation of blas.
If you want to use the iPython shell, you should first try to import
nump
y
If you want to use the iPython shell, you should first try to import
NumP
y
in it::
in it::
C:\Users\user>ipython
C:\Users\user>ipython
...
@@ -978,14 +978,14 @@ MinGW, but this has not been tested yet.
...
@@ -978,14 +978,14 @@ MinGW, but this has not been tested yet.
After unpacking its source code (you may use `7-zip
After unpacking its source code (you may use `7-zip
<http://www.7-zip.org/>`__), you can build and install it from within
<http://www.7-zip.org/>`__), you can build and install it from within
its code directory by running the following command (either from a Windows
its code directory by running the following command (either from a Windows
command promp
o
t or an MSYS shell):
command prompt or an MSYS shell):
.. code-block:: bash
.. code-block:: bash
python setup.py install
python setup.py install
At this point, whether you installed Python(x,y) or individual components, you
At this point, whether you installed Python(x,y) or individual components, you
should have MinGW, Python, Numpy, Sci
p
y and Nose installed.
should have MinGW, Python, Numpy, Sci
P
y and Nose installed.
Installing Theano
Installing Theano
...
@@ -1069,7 +1069,7 @@ Command lines listed below are assumed to be run in a Windows prompt
...
@@ -1069,7 +1069,7 @@ Command lines listed below are assumed to be run in a Windows prompt
used within an MSYS Shell (not available if you only installed Python(x,y)).
used within an MSYS Shell (not available if you only installed Python(x,y)).
- The first option is to navigate to the
- The first option is to navigate to the
`Theano
gith
ub page <http://github.com/Theano/Theano>`__ and click the ``ZIP``
`Theano
GitH
ub page <http://github.com/Theano/Theano>`__ and click the ``ZIP``
button in the top-left corner to download a zip file with the latest
button in the top-left corner to download a zip file with the latest
development version. Unzip this file where you want Theano to be
development version. Unzip this file where you want Theano to be
installed, then rename the unzipped folder to ``Theano``.
installed, then rename the unzipped folder to ``Theano``.
...
@@ -1173,7 +1173,7 @@ Editing code in Visual Studio
...
@@ -1173,7 +1173,7 @@ Editing code in Visual Studio
You will find a Visual Studio solution file (``Theano.sln``) in the root of
You will find a Visual Studio solution file (``Theano.sln``) in the root of
the Theano repository. Note that this project file may not be kept up-to-date
the Theano repository. Note that this project file may not be kept up-to-date
and is not officiall
l
y supported by the core Theano developers: it is provided
and is not officially supported by the core Theano developers: it is provided
for convenience only.
for convenience only.
Also, be aware that it will not make Theano use Visual Studio to compile C
Also, be aware that it will not make Theano use Visual Studio to compile C
files: it is only meant to provide an easy way to edit Theano code within
files: it is only meant to provide an easy way to edit Theano code within
...
@@ -1189,7 +1189,7 @@ MKL library included in EPD, so you should not need to compile your own BLAS.
...
@@ -1189,7 +1189,7 @@ MKL library included in EPD, so you should not need to compile your own BLAS.
The instructions below have not been tested in a Windows 64 bit environment.
The instructions below have not been tested in a Windows 64 bit environment.
If you want a faster and/or multithreaded BLAS library, you can
If you want a faster and/or multi
-
threaded BLAS library, you can
compile OpenBLAS (ATLAS may work too, but was not tested, and is
compile OpenBLAS (ATLAS may work too, but was not tested, and is
usually reported to be slower and more difficult to compile -- especially
usually reported to be slower and more difficult to compile -- especially
on Windows).
on Windows).
...
...
doc/introduction.txt
浏览文件 @
96e59102
...
@@ -85,7 +85,7 @@ is like a programming language in the sense that you have to
...
@@ -85,7 +85,7 @@ is like a programming language in the sense that you have to
It is good to think of ``theano.function`` as the interface to a
It is good to think of ``theano.function`` as the interface to a
compiler which builds a callable object from a purely symbolic graph.
compiler which builds a callable object from a purely symbolic graph.
One of
t
heano's most important features is that ``theano.function``
One of
T
heano's most important features is that ``theano.function``
can optimize a graph and even compile some or all of it into native
can optimize a graph and even compile some or all of it into native
machine instructions.
machine instructions.
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论