Skip to content

Commit d0f7369

Browse files
committed
添加了THEANO 中新的部分:条件语句(已完成),循环(未完成)
1 parent 04c961b commit d0f7369

14 files changed

+2903
-1562
lines changed

09. theano/09.03 gpu on windows.ipynb

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"cell_type": "markdown",
55
"metadata": {},
66
"source": [
7-
"# Windows 上配置 theano 的 GPU 模式"
7+
"# Theano 在 Windows 上的配置 "
88
]
99
},
1010
{
@@ -242,7 +242,7 @@
242242
"name": "stdout",
243243
"output_type": "stream",
244244
"text": [
245-
"Looping 1000 times took 3.906664 seconds\r\n",
245+
"Looping 1000 times took 3.730786 seconds\r\n",
246246
"Result is [ 1.23178029 1.61879337 1.52278066 ..., 2.20771813 2.29967761\r\n",
247247
" 1.62323284]\r\n",
248248
"Used the cpu\r\n"
@@ -268,7 +268,7 @@
268268
"output_type": "stream",
269269
"text": [
270270
"Using gpu device 0: Tesla K10.G2.8GB (CNMeM is disabled)\n",
271-
"Looping 1000 times took 1.509878 seconds\n",
271+
"Looping 1000 times took 1.214745 seconds\n",
272272
"Result is [ 1.23178029 1.61879349 1.52278066 ..., 2.20771813 2.29967761\n",
273273
" 1.62323296]\n",
274274
"Used the gpu\n"
@@ -347,8 +347,8 @@
347347
"output_type": "stream",
348348
"text": [
349349
"Using gpu device 0: Tesla K10.G2.8GB (CNMeM is disabled)\n",
350-
"Looping 1000 times took 0.918295 seconds\n",
351-
"Result is <CudaNdarray object at 0x7fe349f29470>\n",
350+
"Looping 1000 times took 0.586156 seconds\n",
351+
"Result is <CudaNdarray object at 0x7f86ef3ad8b0>\n",
352352
"Numpy result is [ 1.23178029 1.61879349 1.52278066 ..., 2.20771813 2.29967761\n",
353353
" 1.62323296]\n",
354354
"Used the gpu\n"

0 commit comments

Comments
 (0)