Support ShuffleNet and MobileNet-v2, test=release/1.4
(cherry picked from commit bddb2cd3)
support change input size