From 8a1355d2b5c511350837bcd250a22ae5581991a1 Mon Sep 17 00:00:00 2001 From: Jovan Mitrevski Date: Wed, 10 Apr 2024 11:09:45 -0500 Subject: [PATCH] allow for no explicit pads in Conv layer --- src/qonnx/custom_op/channels_last/conv.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/qonnx/custom_op/channels_last/conv.py b/src/qonnx/custom_op/channels_last/conv.py index b0ff237b..9c11d0d3 100644 --- a/src/qonnx/custom_op/channels_last/conv.py +++ b/src/qonnx/custom_op/channels_last/conv.py @@ -54,7 +54,7 @@ def get_nodeattr_types(self): "dilations": ("ints", True, []), # amount of padding to be inserted before/after each non-dummy spatial dim # i.e. [H_begin, W_begin, H_end, W_end] - "pads": ("ints", True, [0, 0, 0, 0]), # default: no padding + "pads": ("ints", False, [0, 0, 0, 0]), # default: no padding "group": ("i", True, 1), }