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.
SimpleSaveStage Class Reference

Class that passes through results yielded by substages, but saves the results as a json list to a file at the end of the iteration. More...

Inheritance diagram for SimpleSaveStage:
Collaboration diagram for SimpleSaveStage:

Public Member Functions

def __init__ (self, list[StageCallable] list_of_callables, *str dump_folder, **Any kwargs)
 
def run (self)
 Run the simple save stage by running the substage and saving the CostModelEvaluation simple json representation. More...
 
def save_to_json (self, CostModelEvaluationABC obj, str filename)
 
- Public Member Functions inherited from Stage
def __init__ (self, list["StageCallable"] list_of_callables, **Any kwargs)
 
def __iter__ (self)
 
bool is_leaf (self)
 

Public Attributes

 dump_folder
 
- Public Attributes inherited from Stage
 kwargs
 
 list_of_callables
 

Detailed Description

Class that passes through results yielded by substages, but saves the results as a json list to a file at the end of the iteration.

In this simple version, only the energy total and latency total are saved.

Constructor & Destructor Documentation

◆ __init__()

def __init__ (   self,
list[StageCallable list_of_callables,
*str  dump_folder,
**Any  kwargs 
)
Parameters
list_of_callablessee Stage
dump_folderOutput folder for dumps
kwargsany kwargs, passed on to substages

Member Function Documentation

◆ run()

def run (   self)

Run the simple save stage by running the substage and saving the CostModelEvaluation simple json representation.

Reimplemented from Stage.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ save_to_json()

def save_to_json (   self,
CostModelEvaluationABC  obj,
str  filename 
)
Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ dump_folder

dump_folder

The documentation for this class was generated from the following file: