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 fe7c76a commit fc2951eCopy full SHA for fc2951e
tools/pnnx/src/pass_level2/torch_flip.cpp
@@ -49,12 +49,11 @@ pnnx.Output output 1 0 out
49
{
50
if (captured_params.at("axes").type == 2)
51
52
- int axis = captured_params.at("axes").i;
53
int start = captured_params.at("starts").i;
54
int end = captured_params.at("ends").i;
55
int step = captured_params.at("steps").i;
56
57
- if (axis == 0 && start == -1 && end == INT_MIN + 1 && step == -1)
+ if (start == -1 && end == INT_MIN + 1 && step == -1)
58
return true;
59
}
60
else // if (captured_params.at("axes").type == 5)
0 commit comments