Rethinking Dynamic Networks and Heterogeneous Computing with Automatic Parallelization