Skip to content
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

Merged
merged 21 commits into from
Nov 1, 2024
Merged

Conversation

BLee-bot
Copy link
Contributor

This introduces HessianComputer and HessianVector.

ONE-DCO-1.0-Signed-off-by: Banseok Lee [email protected]

Related Issue : #13480
Draft PR: #13585

Copy link
Contributor

@seanshpark seanshpark left a 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

@seanshpark
Copy link
Contributor

Commit message looks strange

image

plz fix.

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
Copy link
Contributor

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?

Copy link
Contributor

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?

Copy link
Contributor Author

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.

@jinevening
Copy link
Contributor

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]>
Copy link
Contributor

@jinevening jinevening left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Contributor

@seanshpark seanshpark left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@seanshpark seanshpark merged commit ccf6510 into Samsung:master Nov 1, 2024
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants