In what folder does the following .theanorc.txt file go now that I am using 
theano v9 and python 3.6. I want to be sure that the device = gpu when I 
test my CNN.
==================================
[global]
device = gpu
REM device = cpu
floatX=float32
[nvcc]
flags = -LC:\SciSoft\Python36\libs
compiler_bindir=C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin
==================================================


FYI, I just installed theano-0.9.0-py36_0 and have successfully run the 
following script to test theano for CPU:
======================================
import numpy as np
import time
import theano
A=np.random.rand(1000,10000).astype(theano.config.floatX)
B=np.random.rand(10000,1000).astype(theano.config.floatX)
np_start = time.time()
AB=A.dot(B)
np_end=time.time()
X,Y=theano.tensor.matrices ('XY')
mf = theano.function([X,Y],X.dot(Y))
t_start=time.time()
tAB=mf(A,B)
t_end=time.time()
print("NP time:%f[s], theano time: %f[s]" %(np_end-np_start, t_end-t_start))
=============================================


-- 

--- 
You received this message because you are subscribed to the Google Groups 
"theano-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to theano-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to