Skip to content

Commit

Permalink
allow for no explicit pads in Conv layer
Browse files Browse the repository at this point in the history
  • Loading branch information
jmitrevs committed Apr 10, 2024
1 parent c5bd87f commit 8a1355d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/qonnx/custom_op/channels_last/conv.py
Original file line number Diff line number Diff line change
Expand Up @@ -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),
}

Expand Down

0 comments on commit 8a1355d

Please sign in to comment.