8000 Patch the _is_conv_node function · pytorch/pytorch@110aee3 · GitHub
[go: up one dir, main page]

Skip to content

Commit 110aee3

Browse files
cccclaifacebook-github-bot
authored andcommitted
Patch the _is_conv_node function
Summary: torch.ops.aten.conv2d.padding is also conv2d node Differential Revision: D74898941
1 parent c2dda47 commit 110aee3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

torch/ao/quantization/pt2e/utils.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -168,6 +168,7 @@ def _is_conv_node(n: Node):
168168
return n.op == "call_function" and n.target in [
169169
torch.ops.aten.conv1d.default,
170170
torch.ops.aten.conv2d.default,
171+
torch.ops.aten.conv2d.padding,
171172
]
172173

173174

0 commit comments

Comments
 (0)
0