We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 873ddbb commit 96c58ceCopy full SHA for 96c58ce
onnx/defs/nn/defs.cc
@@ -52,7 +52,8 @@ void convPoolTypeAndShapeInference(
52
}
53
54
// don't bother with legacy auto_pad for now
55
- if (ctx.getAttribute("auto_pad")) {
+ const auto* auto_pad_attr = ctx.getAttribute("auto_pad");
56
+ if ((nullptr != auto_pad_attr) && (auto_pad_attr->s() != "NOTSET")) {
57
return;
58
59
0 commit comments