afe.core.simulate_networks

Functions

simulate_network(→ None)

Take in a root folder and search for all MLC files. Generate trace file for each

Module Contents

afe.core.simulate_networks.simulate_network(model_config: afe.core.configs.ModelConfigs, opt_config: afe.core.configs.OptimizationConfigs) None[source]

Take in a root folder and search for all MLC files. Generate trace file for each MLC file using below commandline:

mla-isim –trace={trace_file_name} {mlc_file_name}

Save the YAML, if the SIMA_AFE_SAVED_FILES environmental variables is set to 1.

Parameters:
  • model_config – A ModelConfigs instance containing model related information and status.

  • op_config – A OptimizationConfigs instance containing quantization scheme information.