From fe3f889be1b631d21235e2bbd8ea39f24b2db8b6 Mon Sep 17 00:00:00 2001 From: JiacongSun Date: Mon, 23 Oct 2023 17:49:59 +0200 Subject: [PATCH] update stage.rst description --- docs/source/stages.rst | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/docs/source/stages.rst b/docs/source/stages.rst index 63d0e1be..e72c8939 100644 --- a/docs/source/stages.rst +++ b/docs/source/stages.rst @@ -117,6 +117,11 @@ Cost model stages ----------------- * `CostModelStage `_: Pipeline stage that calls a cost model to evaluate a (temporal and spatial) mapping on a HW config. +Hardware modification stages +----------------- +* `SearchUnusedMemoryStage `_: Class that iterates through the memory instances and return the lowest allowed memory level for each operand for the usage of the next layer. The class must be placed before the WorkloadStage. The parameter `workload_data_always_from_top_mem `_ is False by default, which means the initial input and final output of the entire workload can be from a memory level lower than the highest memory level. You can set it to True if the initial input data and final output of the entire workload must travel from/to the highest memory level. +* `RemoveUnusedMemoryStage `_: Class that remove the unused memory instances according to the result of SearchUnusedMemoryStage. Each memory instance with a level higher than the level returned from SearchUnusedMemoryStage will be considered as an unused memory and will be removed. This stage must be placed after the WorkloadStage. + Creating your custom stage ==========================