1from __future__ import absolute_import, print_function, division 2import unittest 3 4import theano 5import numpy as np 6import scipy.sparse as sp 7 8from theano import sparse 9from theano import gof, tensor, compile 10 11from theano.sparse.tests.test_basic import eval_outputs 12from theano.sparse.basic import ( 13 _is_sparse_variable, _is_dense_variable, 14 as_sparse_variable, _is_sparse, _mtypes, _mtype_to_str) 15from theano.sparse import SparseType, dense_from_sparse, transpose 16 17from theano.sparse.tests.test_basic import sparse_random_inputs 18from theano.tests import unittest_tools as utt 19 20# To maintain compatibility 21from theano.sparse.basic import TrueDot, true_dot 22