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 de33b04 commit c6dc1deCopy full SHA for c6dc1de
core/lowering/passes/linear_to_addmm.cpp
@@ -35,7 +35,6 @@ void replaceLinearWithBiasNonePattern(std::shared_ptr<torch::jit::Graph> graph)
35
} else {
36
torch::jit::WithInsertPoint guard(*it);
37
std::shared_ptr<torch::jit::Graph> d_graph = toGraphFunction(decompose_funcs.get_function("linear")).graph();
38
- ;
39
torch::jit::Value* new_output = insertGraph(*it->owningGraph(), *d_graph, it->inputs()).at(0);
40
new_output->setType(it->output()->type());
41
it->output()->replaceAllUsesWith(new_output);
0 commit comments