Skip to content

inference c_api support std::string#38667

Merged
jiweibo merged 5 commits intoPaddlePaddle:developfrom
jiweibo:c_api_support_str
Jan 5, 2022
Merged

inference c_api support std::string#38667
jiweibo merged 5 commits intoPaddlePaddle:developfrom
jiweibo:c_api_support_str

Conversation

@jiweibo
Copy link
Copy Markdown
Contributor

@jiweibo jiweibo commented Jan 4, 2022

PR types

Others

PR changes

Others

Describe

inference c_api support std::string

@paddle-bot-old
Copy link
Copy Markdown

paddle-bot-old Bot commented Jan 4, 2022

Thanks for your contribution!
Please wait for the result of CI firstly. See Paddle CI Manual for details.

Comment thread paddle/fluid/inference/capi_exp/pd_utils.cc Outdated
Comment thread paddle/fluid/inference/capi_exp/pd_utils.cc
Comment thread paddle/fluid/inference/capi_exp/pd_utils.cc Outdated
Copy link
Copy Markdown
Contributor

@winter-wang winter-wang left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@jiweibo jiweibo merged commit f289cf8 into PaddlePaddle:develop Jan 5, 2022
@jiweibo jiweibo deleted the c_api_support_str branch January 5, 2022 03:00
jiweibo added a commit to jiweibo/Paddle that referenced this pull request Jan 5, 2022
* c_api support std::string

* update

* update

* add NOTE

* fix delete error.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Paddle推理库C API不应该要求用户使用C运行时API free函数去释放内存

2 participants