[nnc] Adding a test with dynamic shapes from a model (#72198)
Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/72198
Test Plan: Imported from OSS
Reviewed By: eellison
Differential Revision: D33951741
Pulled By: navahgar
fbshipit-source-id: 596b193eba14c8e1affa9fa13070079f05d64cac
(cherry picked from commit ddbb78ff80e86bf7f950a286d33f5961e1c15965)