From 4ddeda852b63d8f7c7bdecbdda8a462e08554e68 Mon Sep 17 00:00:00 2001 From: Yaman Umuroglu <maltanar@gmail.com> Date: Tue, 18 Aug 2020 20:30:14 +0200 Subject: [PATCH] [StreamingFC] fix broken DataType name in default accDataType --- src/finn/custom_op/fpgadataflow/streamingfclayer_batch.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/finn/custom_op/fpgadataflow/streamingfclayer_batch.py b/src/finn/custom_op/fpgadataflow/streamingfclayer_batch.py index ab1d3650f..181e04f71 100644 --- a/src/finn/custom_op/fpgadataflow/streamingfclayer_batch.py +++ b/src/finn/custom_op/fpgadataflow/streamingfclayer_batch.py @@ -77,7 +77,7 @@ class StreamingFCLayer_Batch(HLSCustomOp): "weightDataType": ("s", True, ""), "outputDataType": ("s", True, ""), # FINN DataType for accumulator -- auto-computed and updated - "accDataType": ("s", False, "DataType.INT32"), + "accDataType": ("s", False, "INT32"), # use xnor-popcount for binary weights/inputs, thus treating them # as bipolar "binaryXnorMode": ("i", False, 0), -- GitLab