fixed the NumberPartionerSpec and the partial evaluation of the computation graph