We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a81bd70 commit 2e82899Copy full SHA for 2e82899
csrc/jit/passes/graph_rewrite_conv.cpp
@@ -34,6 +34,9 @@ void replaceFrozenIPEXConvWithAtenConv(
34
->cast<TensorType>()
35
->sizes()
36
.concrete_sizes();
37
+ if (!input_size_option.has_value()) {
38
+ continue;
39
+ }
40
auto prepack_node = n->inputs().at(3)->node()->inputs().at(0);
41
// For graph before "freeze", cannot get custom class to repack
42
if (!toIValue(prepack_node).has_value())
0 commit comments