-
Notifications
You must be signed in to change notification settings - Fork 444
Build MicrosoftMLRunner for using WinML nuget and make WinMLRunner only load from System32 #348
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
remove pragma in outputhelper.cpp
| @@ -0,0 +1,1004 @@ | ||
| #include "d3dx12.h" |
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.
Implementation was moved from BindingUtilties.h into BindingUtilities.cpp
| @@ -0,0 +1,1197 @@ | ||
| #include "Common.h" |
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.
Implementation was moved from OutputHelper.h into OutputHelper.cpp
Tools/WinMLRunner/src/OutputHelper.h
Outdated
| } | ||
|
|
||
| const std::string& status) const; | ||
| void PrintModelInfo(std::wstring modelPath, LearningModel model) const; |
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.
Should take const references
Tools/WinMLRunner/src/OutputHelper.h
Outdated
| static void PrintLearningModelDevice(const LearningModelDeviceWithMetadata& device); | ||
| static std::wstring FeatureDescriptorToString(const ILearningModelFeatureDescriptor& descriptor); | ||
| static bool doesDescriptorContainFP16(const ILearningModelFeatureDescriptor& descriptor); | ||
| static bool doesModelContainFP16(const LearningModel model); |
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.
Should take const reference
tiagoshibata
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.
Looks good to me, left a couple of comments on the refactored code
There are a few changes here: