Convert python literals to theano constants before handing them off to Subtensor.