scalesim.utilities package
Submodules
scalesim.utilities.scalesim_report module
- class scalesim.utilities.scalesim_report.ScalesimReport[source]
Bases:
objectClass which has the utility functions to load report data
- get_compute_cycles_all_layer()[source]
Method to get total cycles of all the layers of the workload
- Returns:
List of total cycles of all the layers
- get_sram_ifmap_reads_all_layer()[source]
Method to get ifmap reads of all the layers of the workload
- Returns:
List of ifmap reads of all the layers
- get_sram_ifmap_reads_single_layer(layer_id=0)[source]
Method to get ifmap reads of a single layer of the workload
- Parameters:
layer_id – Layer number of the workload
- Returns:
Ifmap reads of a single layer
- get_total_cycles_single_layer(layer_id=0)[source]
Method to get total cycles of a single layer of the workload
- Parameters:
layer_id – Layer number of the workload
- Returns:
Total cycles of a single layer
- load_bandwidth_report_data(data_dir='.', run_name='')[source]
Method to load data of the bandwidth report.
- Parameters:
data_dir – The folder where the reports are saved
run_name – Run name of the simulation specified in the configuration file
- Returns:
Data of the bandwidth report
- load_compute_report_data(data_dir='.', run_name='')[source]
Method to load data of the compute report.
- Parameters:
data_dir – The folder where the reports are saved
run_name – Run name of the simulation specified in the configuration file
- Returns:
Data of the compute report