From 5072b696b42d395aa70cbbc8bf853ccc14303592 Mon Sep 17 00:00:00 2001 From: Yaman Umuroglu <yamanu@amd.com> Date: Mon, 29 Aug 2022 22:54:30 +0200 Subject: [PATCH] [FIFO] typo fix for residual experiment --- .../transformation/fpgadataflow/derive_characteristic.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/finn/transformation/fpgadataflow/derive_characteristic.py b/src/finn/transformation/fpgadataflow/derive_characteristic.py index f857cdb5e..651462066 100644 --- a/src/finn/transformation/fpgadataflow/derive_characteristic.py +++ b/src/finn/transformation/fpgadataflow/derive_characteristic.py @@ -188,7 +188,7 @@ class DeriveCharacteristic(NodeLocalTransformation): (model, run_again) = super().apply(model) # apply manual fix for DuplicateStreams and AddStreams for # simple residual reconvergent paths with bypass - addstrm_nodes = model.get_nodes_by_op_type("AddStreams") + addstrm_nodes = model.get_nodes_by_op_type("AddStreams_Batch") for addstrm_node in addstrm_nodes: # we currently only support the case where one branch is # a bypass @@ -197,8 +197,8 @@ class DeriveCharacteristic(NodeLocalTransformation): if (b0 is None) or (b1 is None): warnings.warn("Found unsupported AddStreams, skipping") return (model, run_again) - b0_is_bypass = b0.op_type == "DuplicateStreams" - b1_is_bypass = b1.op_type == "DuplicateStreams" + b0_is_bypass = b0.op_type == "DuplicateStreams_Batch" + b1_is_bypass = b1.op_type == "DuplicateStreams_Batch" if (not b0_is_bypass) and (not b1_is_bypass): warnings.warn("Found unsupported AddStreams, skipping") return (model, run_again) -- GitLab