import theano
import numpy as np
import scipy.sparse as sp

from theano import sparse
from theano import gof, tensor, compile

from theano.sparse.basic import (
    _is_sparse_variable,
    _is_dense_variable,
    as_sparse_variable,
    _is_sparse,
    _mtypes,
    _mtype_to_str,
)
from theano.sparse import SparseType, dense_from_sparse, transpose

from tests import unittest_tools as utt
from tests.sparse.test_basic import eval_outputs
from tests.theano.sparse.test_basic import sparse_random_inputs

# To maintain compatibility
from theano.sparse.basic import TrueDot, true_dot
