Skip to content

Commit

Permalink
fix pnnx
Browse files Browse the repository at this point in the history
  • Loading branch information
Baiyuetribe committed Jan 4, 2025
1 parent 8422853 commit f1af190
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions tools/pnnx/src/pass_ncnn/torch_topk.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -52,10 +52,6 @@ pnnx.Output output 2 0 out indices
op->params["1"] = dim;
op->params["2"] = largest;
op->params["3"] = sorted;

// 移除不需要的输入
op->inputs.resize(1);
op->outputs.resize(1);
}
};

Expand Down

0 comments on commit f1af190

Please sign in to comment.