While I am trying to call as_cuda_ndarray_variable function from from theano.sandbox.cuda that is wrote on separate basic_ops.pypython file that is called inside the init.py file. My python-2.7.16 andtheano-0.9.0.
from theano.sandbox.cuda import as_cuda_ndarray_variable
ImportError: cannot import name as_cuda_ndarray_variable
Maybe you can try this:
or