Created by: zhhsplendid
PR types
Others
PR changes
Others
Describe
Add Resnet Test for V2 APIs.
We used tool from https://www.paddlepaddle.org.cn/documentation/docs/zh/2.0-beta/guides/migration_cn.html#paddle1-xpaddle2-0beta to do v1.x to v2 transformation.
This PR pulled changes from #27430, please DO NOT merge before #27430 is merged