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.
|
Converts validated and normalized user-provided data into mapping-related instances. More...
Public Member Functions | |
def | __init__ (self, str layer_name, str operation_type, list[dict[str, Any]] mapping_data) |
SpatialMapping | create_spatial_mapping (self) |
MappingSingleOADim | create_mapping_single_oa_dim (self, list[str] mapping_data) |
SpatialMappingHint | create_spatial_mapping_hint (self) |
MemoryOperandLinks | create_memory_operand_links (self) |
LayerTemporalOrdering | create_temporal_ordering (self) |
This attribute lacks support within the MappingValidator. More... | |
Public Attributes | |
mapping_data | |
Converts validated and normalized user-provided data into mapping-related instances.
The mapping for this layer is chosen according to the following priority:
def __init__ | ( | self, | |
str | layer_name, | ||
str | operation_type, | ||
list[dict[str, Any]] | mapping_data | ||
) |
Name | of the layer for which the Mapping is being constructed. |
operation_type | Name of the layer operation for which the Mapping is being constructed. |
mapping_data | user-given, validated and normalized mapping data for all operation types. |
MappingSingleOADim create_mapping_single_oa_dim | ( | self, | |
list[str] | mapping_data | ||
) |
MemoryOperandLinks create_memory_operand_links | ( | self | ) |
SpatialMapping create_spatial_mapping | ( | self | ) |
SpatialMappingHint create_spatial_mapping_hint | ( | self | ) |
LayerTemporalOrdering create_temporal_ordering | ( | self | ) |
This attribute lacks support within the MappingValidator.
Returns an empty instance in case it is not provided (to be compatible with older code) or raises an error if it is present in the user-provided data.
mapping_data |