2020-10-19 21:08:55

This commit is contained in:
wizardforcel
2020-10-19 21:08:55 +08:00
parent 7f63048035
commit ab0caba1f0
140 changed files with 3982 additions and 3982 deletions

View File

@@ -18,14 +18,14 @@
`windows` 下,使用 `anaconda` 安装 `theano` 的命令为:
```
```py
conda install mingw libpython
pip install theano
```
`linux` 下,使用 `anaconda` 安装的命令为
```
```py
conda install theano
```
@@ -35,7 +35,7 @@ conda install theano
In [1]:
```
```py
import theano
theano.__version__
@@ -44,7 +44,7 @@ theano.__version__
Out[1]:
```
```py
'0.7.0.dev-54186290a97186b9c6b76317e007844529a352f4'
```
@@ -52,14 +52,14 @@ Out[1]:
In [2]:
```
```py
theano.config.device
```
Out[2]:
```
```py
'cpu'
```
@@ -67,18 +67,18 @@ Out[2]:
In [3]:
```
```py
theano.test()
```
```
```py
/usr/local/lib/python2.7/dist-packages/theano/misc/pycuda_init.py:34: UserWarning: PyCUDA import failed in theano.misc.pycuda_init
warnings.warn("PyCUDA import failed in theano.misc.pycuda_init")
....................S...............
```
```
```py
Theano version 0.7.0.dev-54186290a97186b9c6b76317e007844529a352f4
theano is installed in /usr/local/lib/python2.7/dist-packages/theano
NumPy version 1.10.1
@@ -89,7 +89,7 @@ nose version 1.3.7
```
```
```py
----------------------------------------------------------------------
Ran 37 tests in 37.919s
@@ -99,7 +99,7 @@ OK (SKIP=1)
Out[3]:
```
```py
<nose.result.TextTestResult run=37 errors=0 failures=0>
```