You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Summary:
Pull Request resolved: #2442
Only need to look at tester.py file for the tester changes.
Change is from `.run_method().compare_outputs() ` to `.run_method_and_compare_outputs()`
now if Tester is initialized with dynamic inputs, we will generate random dynamic inputs (according to the specification of the dynamic shapes) to run on the model. This allows us to test that the inputs fed into the model can be dynamic.
We ad a num_runs to run_method_and_compare_outputs so that we can choose to run a number of different dynamic inputs with dynamic shapes.
Reviewed By: digantdesai, kirklandsign
Differential Revision: D54650121
0 commit comments