Pedaling overhead with front vs rear hub motor
Assuming both wheels are the same radius (which they usually are) and that you're not skidding (which you usually aren't), both wheels rotate at the same speed and accelerate at the same rate. So, purely in the terms you mention in the question, it makes no difference.

If there is any difference, it will come from differing designs of front and rear hub motors.