def function(self, name=None):
        inputs = SparseType('csr', dtype=theano.config.floatX)()
        return theano.function([inputs], self(inputs), name=name)
Check if value is a valid date. @@@ Still add checking on leap year
dataset/ETHPy150Open lisa-lab/pylearn2/pylearn2/models/pca.py/SparseMatPCA.function--crossover with--dataset/ETHPy150Open petrvanblokland/Xierpa3/xierpa3/toolbox/parsers/validator.py/Validator.isDate