Skip to content

Commit

Permalink
cherry-picking commit b2c486a: 【Hackathon 7th No.47】 Paddle2ONNX 添加对 …
Browse files Browse the repository at this point in the history
…While 算子的支持 (PaddlePaddle#1408)

* Add supported for While

* Add Support For while

* Add supported for while
  • Loading branch information
brisaurora authored and 0x3878f committed Dec 6, 2024
1 parent 3f2dd54 commit c35d37f
Show file tree
Hide file tree
Showing 14 changed files with 454 additions and 323 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,10 @@ paddle2onnx --model_dir saved_inference_model \
--model_filename model.pdmodel \
--params_filename model.pdiparams \
--save_file model.onnx
paddle2onnx --model_dir ch_ppstructure_mobile_v2.0_SLANet_infer \
--model_filename inference.pdmodel \
--params_filename inference.pdiparams \
--save_file inference.onnx
```

可调整的转换参数如下表:
Expand Down
Loading

0 comments on commit c35d37f

Please sign in to comment.