From 8bbdf26818ca6af040dea0d4f83f9bdc382785c3 Mon Sep 17 00:00:00 2001 From: auphelia <jakobapk@web.de> Date: Mon, 18 May 2020 15:32:21 +0100 Subject: [PATCH] [CustomOp] Add SameResize_Batch to registry --- src/finn/custom_op/registry.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/finn/custom_op/registry.py b/src/finn/custom_op/registry.py index e72cc5b1a..d675cf451 100644 --- a/src/finn/custom_op/registry.py +++ b/src/finn/custom_op/registry.py @@ -44,6 +44,7 @@ from finn.custom_op.fpgadataflow.streamingdatawidthconverter_batch import ( StreamingDataWidthConverter_Batch, ) from finn.custom_op.fpgadataflow.globalaccpool_batch import GlobalAccPool_Batch +from finn.custom_op.fpgadataflow.sameresize_batch import SameResize_Batch # create a mapping of all known CustomOp names and classes custom_op = {} @@ -60,6 +61,7 @@ custom_op["MaxPoolNHWC"] = MaxPoolNHWC custom_op["StreamingDataWidthConverter_Batch"] = StreamingDataWidthConverter_Batch custom_op["StreamingFIFO"] = StreamingFIFO custom_op["GlobalAccPool_Batch"] = GlobalAccPool_Batch +custom_op["SameResize_Batch"] = SameResize_Batch def getCustomOp(node): -- GitLab