cast mnist type to theano.config.floatX