In [1]:
import theano
print(theano.config.device)