Forgot to execute a test.It seems that theano.tensor can not be imported from the top of the file. However, functions that I need are in basic.py therefore there's no need to import theano.tensor or anything else.