Skip to content

Commit

Permalink
Merge branch 'tnn2pnnx' of github.com:nihui/ncnn into tnn2pnnx
Browse files Browse the repository at this point in the history
  • Loading branch information
nihui committed Feb 10, 2025
2 parents 4564fb3 + 549e83f commit 22a5b7b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion tools/pnnx/src/pass_level2/torch_max.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ pnnx.Output output 1 0 out
void write(Operator* op, const std::map<std::string, Parameter>& captured_params) const
{
std::vector<int> dim;
for (int i = 1; ; i++)
for (int i = 1;; i++)
{
if (captured_params.find("op_0.arg" + std::to_string(i)) == captured_params.end())
break;
Expand Down
2 changes: 1 addition & 1 deletion tools/pnnx/src/pass_level2/torch_mean.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ pnnx.Output output 1 0 out
void write(Operator* op, const std::map<std::string, Parameter>& captured_params) const
{
std::vector<int> dim;
for (int i = 1; ; i++)
for (int i = 1;; i++)
{
if (captured_params.find("op_0.arg" + std::to_string(i)) == captured_params.end())
break;
Expand Down
2 changes: 1 addition & 1 deletion tools/pnnx/src/pass_level2/torch_min.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ pnnx.Output output 1 0 out
void write(Operator* op, const std::map<std::string, Parameter>& captured_params) const
{
std::vector<int> dim;
for (int i = 1; ; i++)
for (int i = 1;; i++)
{
if (captured_params.find("op_0.arg" + std::to_string(i)) == captured_params.end())
break;
Expand Down

0 comments on commit 22a5b7b

Please sign in to comment.