ZigZag - Deep Learning Hardware Design Space Exploration
This repository presents the novel version of our tried-and-tested hardware Architecture-Mapping Design Space Exploration (DSE) Framework for Deep Learning (DL) accelerators. ZigZag bridges the gap between algorithmic DL decisions and their acceleration cost on specialized accelerators through a fast and accurate hardware cost estimation.
|
Class that collect all the info related to temporal mapping. More...
Public Member Functions | |
def | __init__ (self, TemporalMappingDict temporal_mapping_dict, LayerNode layer_node, TemporalMappingType mapping_type) |
def | __str__ (self) |
def | __repr__ (self) |
def | __jsonrepr__ (self) |
JSON representation of this object to save it to a json file. More... | |
def | innermost_stationary_loop_merge_down (self) |
Iteratively merging down the ir loops which located at the bottom position of each memory level. More... | |
def | calc_cycle_cabl_level (self) |
Calculate the iteration cycles that each memory level covers. More... | |
def | calc_top_r_and_ir_loop (self) |
Public Attributes | |
mapping_dic_origin | |
layer_node | |
operand_list | |
type | |
mem_level | |
mapping_dic_stationary | |
mac_level_data_stationary_cycle | |
cycle_cabl_level | |
total_cycle | |
top_r_loop_size | |
top_ir_loop_size | |
Class that collect all the info related to temporal mapping.
def __init__ | ( | self, | |
TemporalMappingDict | temporal_mapping_dict, | ||
LayerNode | layer_node, | ||
TemporalMappingType | mapping_type | ||
) |
def __jsonrepr__ | ( | self | ) |
JSON representation of this object to save it to a json file.
def __repr__ | ( | self | ) |
def __str__ | ( | self | ) |
def calc_cycle_cabl_level | ( | self | ) |
Calculate the iteration cycles that each memory level covers.
def calc_top_r_and_ir_loop | ( | self | ) |
def innermost_stationary_loop_merge_down | ( | self | ) |
Iteratively merging down the ir loops which located at the bottom position of each memory level.
Also calculate the MAC level data stationary cycle, i,e., the innermost memory level's bottom ir loops.
cycle_cabl_level |
layer_node |
mac_level_data_stationary_cycle |
mapping_dic_origin |
mapping_dic_stationary |
mem_level |
operand_list |
top_ir_loop_size |
top_r_loop_size |
total_cycle |
type |