-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Remove and combine Microsoft.ML.UniversalModelFormat.Onnx with Microsoft.ML.Model.OnnxConverter. #2722
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
…oft.ML.Model.OnnxConverter.
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.
I think it should be Microsoft.ML.Model.Onnx, just like the other namespace. The only type it contains, OnnxCSharpToProtoWrapper is internal. If we put it in a separate namespace, with just internal types, will appear as an empty namespace to the users.
@sfilipi Some of us(@Ivanidzo4ka and @TomFinley ) had a discussion before to not have Microsoft.ML.Onnx namespace since its ambiguous because we have OnnxTransformer and OnnxCoverter now. That conversation let to the removal of Onnx namespace and creation of OnnxCoverter and OnnxTransformer namespace. Microsoft.ML.UniversalModelFormat.Onnx namespace is part of OnnxCoverter hence it needs to come under OnnxCoverter namespace. |
Codecov Report
@@ Coverage Diff @@
## master #2722 +/- ##
==========================================
+ Coverage 71.66% 71.68% +0.01%
==========================================
Files 808 808
Lines 142253 142253
Branches 16138 16138
==========================================
+ Hits 101950 101970 +20
+ Misses 35864 35840 -24
- Partials 4439 4443 +4
|
I think though @sfilipi's point is orthogonal. While it may be that I may have said this, I think my point was related to the assembly names and the names of nugets, not the names of the namespaces. Let's imagine a hypothetical world where the namespace was I am not saying you are wrong and she is right -- I would need more thought to determine this -- I just think there was a misinterpretation about what I had said, and its scope. So therefore do not use my utterance in that PR or issue to determine what you think is correct or incorrect in this specific context, because I think it is based on a potential misinterpretation of the scope of my words. |
Actually, there's a more germane point that I'd somehow forgotten in my first reply. @sfilipi as far as I can tell has shown greatest authority in the the namespace reconciliation effort, so we might take her word about what namespace should go where as having more authority in this matter. Not to say she is incontrovertible, any more than I am, but we might defer unless there is a strong reason to not. Which as far as I can tell in this case, does not exist. So, let our default mode to be to defer in matters of renaming. |
@TomFinley Not only did I change the name of the assembly from Lets also take a step back and see where @sfilipi is coming from. @sfilipi probably noticed all the files in |
Just because I sign off on a PR that touches a file doesn't mean that I am saying that this file cannot be changed forever. Generally, I consider the finalization of the API to be an iterative process. If a PR gets us 90% of the way to where we want to be, I will still generally sign off, because I know the 10% can be done later. (E.g., work around calibrators, and wahtnot.) Regarding this *specifically I did not offer specific comment on the choice of this namespace. I also do not have a strong opinion about namespace names, but I think @sfilipi has been tracking this more carefully. So my point is that referring to me as an authority to deny a renaming request, is what I am trying to say we should not do. :) For sure we have not insisted elsewhere that namespaces and assemblies need to be isolated. In fact we have considered it a bad idea. (See the usage of In reply to: 467264618 [](ancestors = 467264618) |
@TomFinley Not sure what you are asking here but thanks for your input. I’ll discuss this offline tomorrow and resolve this issue. |
The reason i proposed I wrote the comment above under the impression that @codemzs was creating another namespace, without realizing that Reading through the thread, and checking on the current state of the solution; the only namespace that groups Onnx converting types, is I'll double-check my understanding of at @TomFinley comment about the two namespaces that can be separate assemblies, but same namespace, and write a separate issue about that. |
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.
fixes #2721