Did I find the right examples for you? yes no

All Samples(2)  |  Call(0)  |  Derive(0)  |  Import(2)

src/t/h/Theano-0.6.0/theano/misc/pycuda_example.py   Theano(Download)
from theano.tensor.utils import hash_from_dict
 
import pycuda_init
if not pycuda_init.pycuda_available:
    raise Exception("No pycuda available. You can't load pycuda_example.py")

src/t/h/Theano-HEAD/theano/misc/pycuda_example.py   Theano(Download)
from theano.tensor.utils import hash_from_dict
 
import pycuda_init
if not pycuda_init.pycuda_available:
    raise Exception("No pycuda available. You can't load pycuda_example.py")