Add a forward pass nn model with dynamism test. (#4256)
* Add ds model test to the ci.
* fix linter
* add verbose flag.
* fix pr comments
* fix linter
* fix the test
* disable the test on CPU.
* fix linter
* Revert "fix linter"
This reverts commit 14e30debb109d1c9fa3a2ff37ad52d86c78706b7.
* Revert "disable the test on CPU."
This reverts commit a49baf41b28309ebc7ad7ac00210939aac1517a7.
* improve tests.
* should expect the test fail.
* make the test show which speicifc test fails via Verbose flag.
* improve the test
* Test on GPU is skipped. Fixed it.
* fix linter