-
Notifications
You must be signed in to change notification settings - Fork 3.7k
Abbreviate ONNXRuntime as Ort in all of our public APIs #175
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
'Ort' :-) |
| virtual MLDataType GetElementType() const { | ||
| // should never reach here. | ||
| ONNXRUNTIME_NOT_IMPLEMENTED(__FUNCTION__, " is not implemented"); | ||
| ORT_NOT_IMPLEMENTED(__FUNCTION__, " is not implemented"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yeah, having some macros that have ONNXRUNTIME_ and some ORT_ doesn't look very clean.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok, I'll make them all ORT_
yuanbyu
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM.
The current prefix was too long and making the API functions hard to read.
This changes to the simple prefix 'Ort' for 'Onnx RunTime' and uses it for all macros and function names in the public headers. This doesn't replace all occurrences of OnnxRuntime\ONNXRuntime\ONNXRUNTIME_ in the code. That can be done next if this change is approved.