Skip to content

Conversation

@mingyueliuh
Copy link
Contributor

Previously, model_proto was passed by name, which triggered a copy constructor call instead of move construction. Using std::move(model_proto) ensures that the object is constructed via move semantics, reducing unnecessary memory allocation and copy overhead.

Previously, model_proto was passed by name, which triggered a copy
constructor call instead of move construction. Using std::move(model_proto)
ensures that the object is constructed via move semantics,
reducing unnecessary memory allocation and copy overhead.
@mingyueliuh
Copy link
Contributor Author

hi @yuslepukhin @skottmckay please take a look when you are available. Thanks.

@tianleiwu tianleiwu closed this Oct 21, 2025
@tianleiwu tianleiwu reopened this Oct 21, 2025
@tianleiwu
Copy link
Contributor

/azp run Linux QNN CI Pipeline,Win_TRT_Minimal_CUDA_Test_CI,Windows ARM64 QNN CI Pipeline,Windows GPU Doc Gen CI Pipeline

@azure-pipelines
Copy link

Azure Pipelines successfully started running 4 pipeline(s).

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.

2 participants