def function(self, name=None):
        inputs = SparseType('csr', dtype=theano.config.floatX)()
        return theano.function([inputs], self(inputs), name=name)
Returns a compiled theano function to compute a representation
dataset/ETHPy150Open lisa-lab/pylearn2/pylearn2/models/pca.py/SparseMatPCA.function