We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d46676d commit ce6cf75Copy full SHA for ce6cf75
core/lowering/lowering.cpp
@@ -2,6 +2,7 @@
2
#include "torch/csrc/jit/passes/fuse_linear.h"
3
#include "torch/csrc/jit/passes/freeze_module.h"
4
#include "torch/csrc/jit/passes/lower_graph.h"
5
+#include "torch/csrc/jit/passes/lower_tuples.h"
6
#include "torch/csrc/jit/passes/quantization.h"
7
#include "torch/csrc/jit/passes/guard_elimination.h"
8
@@ -23,6 +24,7 @@ void LowerGraph(std::shared_ptr<torch::jit::Graph>& g) {
23
24
torch::jit::EliminateRedundantGuards(g);
25
passes::EliminateExceptionOrPassPattern(g);
26
torch::jit::FuseLinear(g);
27
+ torch::jit::LowerAllTuples(g);
28
passes::RemoveDropout(g);
29
passes::FuseFlattenLinear(g);
30
passes::Conv2DToConvolution(g);
0 commit comments