sub-module of theano, used for deep learning.
rank: prepared types for rank 0 to 4. higher ranks (>4) tensor must be self-defined.
the implementation is based on MatLab Tensor Toolbox
type: dense and sparse
operations: folding/unfolding, tensor-matrix and tensor-vector products, and tensor factorizations