microsoft / microsoft/onnxruntime
[Feature Request] why is `FunctionProto` missing from the file "onnxruntime/core/providers/shared_library/provider_wrappedtypes.h"?
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 21.9k
- Forks
- 4.2k
- Avg merge
- 4d 11h
- Merged PRs (30d)
- 184
Description
### Describe the feature request
Can you please share what you thought about not adding `FunctionProto` to the file "onnxruntime/core/providers/shared_library/provider_wrappedtypes.h"?
Thanks.
### Describe scenario use case
During the development of the "EP context" feature of a shared-lib EP, we need to convert an `IndexedSubGraph` to a `FunctionProto` to serialized the `IndexedSubGraph`, just as stated at https://github.com/microsoft/onnxruntime/blob/362a62390545234d28661307c7a203f2546280ae/include/onnxruntime/core/graph/indexed_sub_graph.h#L28-L39
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Read onnxruntime/core/providers/shared_library/provider_wrappedtypes.h alongside include/onnxruntime/core/graph/indexed_sub_graph.h, especially the referenced lines, to understand the shared-library type surface and the requested serialization path. Done means resolving whether FunctionProto belongs in the wrapped types and validating the resulting EP-context use case.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- backend, machine-learning
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100