* Refactor ModelEstimator: 1. add EvaluatorLoop in engine.runners; 2. add estimator for structures (both subnet & supernet); 3. add layer_counter for each op. * fix lint * update estimator: 1. add ResourceEstimator based on BaseEstimator; 2. add notes & examples for ResourceEstimator & EvaluatorLoop usage; 3. fix a bug of latency test. 4. minor changes according to comments. * add UT & fix a bug caused by UT * add docstrings & remove old estimator * update docstrings for op_spec_counters * rename resource_evaluator_val_loop * support adding resource attrs of each submodule in a measured model * fix lint * refactor estimator file structures * support estimating resources for spec modules * rm old UT * update new estimator UT cases * fix traversal range of the model * cancel unit convert in accumulate_sub_module_flops_params * use estimator_cfg to build ResourceEstimator * fix a broadcast bug * delete fixed input_shape * add assertion and string-format-return when measuring spec_modules * add UT for estimating spec_modules |
||
---|---|---|
.. | ||
data | ||
test_core | ||
test_models | ||
test_registry | ||
test_runners | ||
__init__.py | ||
test_metafiles.py |