mirror of
https://github.com/PaddlePaddle/FastDeploy.git
synced 2025-12-24 13:28:13 +08:00
[Tutorial Doc] add tutorial for how to use c and c sharp api (#1392)
* add tutorialfor how to use c and c sharp api * update english doc * update doc * update doc * update doc * update doc * update doc
This commit is contained in:
@@ -7,3 +7,4 @@ This directory provides some tutorials for FastDeploy. For other model deploymen
|
||||
- Intel independent graphics card/integrated graphics card deployment [see intel_gpu](intel_gpu)
|
||||
- Model multithreaded call [see multi_thread](multi_thread)
|
||||
- Image decoding, including hardward decoding, e.g. nvJPEG [image_decoder](image_decoder)
|
||||
- Deploy models with C or C# API [use_c_csharp_sdk](use_c_sharp_sdk)
|
||||
|
||||
@@ -8,3 +8,4 @@
|
||||
- Intel独立显卡/集成显卡部署 [见intel_gpu](intel_gpu)
|
||||
- 模型多线程调用 [见multi_thread](multi_thread)
|
||||
- 图片解码(含nvJPEG硬解码) [见image_decoder](image_decoder)
|
||||
- 使用C或C# API进行模型部署 [见use_c_csharp_sdk](use_c_sharp_sdk)
|
||||
|
||||
8
tutorials/use_c_csharp_sdk/README.md
Normal file
8
tutorials/use_c_csharp_sdk/README.md
Normal file
@@ -0,0 +1,8 @@
|
||||
English | [中文](README_CN.md)
|
||||
|
||||
# Model Deployment with C or C# API
|
||||
|
||||
Fastdeploy provideds C and C# API to support deployment with multiple programming languages, and this feature is included since version 1.0.4. C API is compiled and included in fastdeploy dynamic library by default. If you want to compile fastdeploy with C and C# API manually, compile it with options -DWITH_CAPI=ON and -DWITH_CSHARPAPI=ON. For more information about how to use C and C# API to deploy models, please refer to
|
||||
|
||||
- [C API tutorial](../../c_api/README.md)
|
||||
- [C# API tutorial](../../csharp/README.md)
|
||||
10
tutorials/use_c_csharp_sdk/README_CN.md
Normal file
10
tutorials/use_c_csharp_sdk/README_CN.md
Normal file
@@ -0,0 +1,10 @@
|
||||
[English](README.md) | 中文
|
||||
|
||||
|
||||
# 使用C或C# API进行模型部署
|
||||
|
||||
FastDeploy提供了C API以及C# API满足多语言部署的需求,这一特性从FastDeploy v1.0.4版本开始进行了支持。默认情况下,C API被编译进入了fastdeploy的动态库。
|
||||
如果希望手动编译FastDeploy,并且集成C和C# API进去,只需要打开编译开关-DWITH_CAPI=ON, -DWITH_CSHARPAPI=ON。关于如何安装和使用C和C# API,可以参考下列文档:
|
||||
|
||||
- [C API指南](../../c_api/README_CN.md)
|
||||
- [C# API指南](../../csharp/README_CN.md)
|
||||
Reference in New Issue
Block a user