-
Notifications
You must be signed in to change notification settings - Fork 158
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
[record-hessian] Introduce HessianComputer #14265
Conversation
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.
plz add CMakeLists.txt
, README.md
and requires.cmake
uint32_t dilation_w, uint32_t kernel_oc, uint32_t kernel_h, uint32_t kernel_w, | ||
uint32_t kernel_ic); | ||
|
||
std::unique_ptr<HessianMap> getMap() 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.
Q) what is the purpose of this method?
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.
Q) why is the implementation not in .cpp
for this method?
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.
Q) what is the purpose of this method?
Trying to change the hessian values from type(HessianVector) to an STL Vector type.
Reason: HessianVector type only used in this module.
Q) why is the implementation not in
.cpp
for this method?
No special reason, we moved it to .cpp.
compiler/record-hessian/include/record-hessian/HessianComputer.h
Outdated
Show resolved
Hide resolved
compiler/record-hessian/include/record-hessian/HessianComputer.h
Outdated
Show resolved
Hide resolved
LGTM w/ minor comment. #14265 (comment) Please address @seanshpark 's comments. |
This commit introduce gessian computer and hessian vector. ONE-DCO-1.0-Signed-off-by: Banseok Lee <[email protected]>
Fix text formatting by apply formatter. ONE-DCO-1.0-Signed-off-by: Banseok Lee <[email protected]>
Add cmake file, readme file, and requires file. ONE-DCO-1.0-Signed-off-by: Banseok Lee <[email protected]>
Add newline and remove useless comments. ONE-DCO-1.0-Signed-off-by: Banseok Lee <[email protected]>
Add data type check and reuse conv2d. ONE-DCO-1.0-Signed-off-by: Banseok Lee <[email protected]>
Fix formatting and add asserts for. ONE-DCO-1.0-Signed-off-by: Banseok Lee <[email protected]>
Fix formating, add asserts, and move public functions to private. ONE-DCO-1.0-Signed-off-by: Banseok Lee <[email protected]>
Free unfold from the HessianComputer class. ONE-DCO-1.0-Signed-off-by: Banseok Lee <[email protected]>
Fix formating and add asserts make warning message more specific. ONE-DCO-1.0-Signed-off-by: Banseok Lee <[email protected]>
Fix formatting and reorder messages. ONE-DCO-1.0-Signed-off-by: Banseok Lee <[email protected]>
Move getMap from .h file to .cpp file. ONE-DCO-1.0-Signed-off-by: Banseok Lee <[email protected]>
Fix formating, add asserts, and fix all minor bugs. ONE-DCO-1.0-Signed-off-by: Banseok Lee <[email protected]>
Fix formatting and remove test folder. ONE-DCO-1.0-Signed-off-by: Banseok Lee <[email protected]>
Make input_tenser as member of class. ONE-DCO-1.0-Signed-off-by: Banseok Lee <[email protected]>
Change recordhessian logic to make it no use bias. ONE-DCO-1.0-Signed-off-by: Banseok Lee <[email protected]>
Fix formating, bugs, and add asserts. ONE-DCO-1.0-Signed-off-by: Banseok Lee <[email protected]>
Add 2024 license message for test file. ONE-DCO-1.0-Signed-off-by: Banseok Lee <[email protected]>
Reorder include header files to make it looks better. ONE-DCO-1.0-Signed-off-by: Banseok Lee <[email protected]>
Add more detailed explanations and comments, fix code structure. ONE-DCO-1.0-Signed-off-by: Banseok Lee <[email protected]>
Remove long exceeded line, make alias. ONE-DCO-1.0-Signed-off-by: Banseok Lee <[email protected]>
Fix note message & import header files. ONE-DCO-1.0-Signed-off-by: Banseok Lee <[email protected]>
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
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
This introduces HessianComputer and HessianVector.
ONE-DCO-1.0-Signed-off-by: Banseok Lee [email protected]
Related Issue : #13480
Draft PR: #13585