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

[onert/python] Introduce OptimizerRegistry #14575

Merged
merged 2 commits into from
Jan 23, 2025

Conversation

ragmani
Copy link
Contributor

@ragmani ragmani commented Jan 22, 2025

This commit introduces OptimizerRegistry that can create optimizers by names.

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

@ragmani ragmani added the PR/ready for review It is ready to review. Please review it. label Jan 22, 2025
@ragmani ragmani requested a review from a team January 22, 2025 04:09
@ragmani
Copy link
Contributor Author

ragmani commented Jan 22, 2025

For #14505
Draft : #14492

This commit introduces OptimizerRegistry.
  - create_optimizer : Create an optimizer instance by name
  - map_optimizer_to_enum : Map an optimizer instance to the appropriate enum value.

ONE-DCO-1.0-Signed-off-by: ragmani <[email protected]>
@ragmani ragmani force-pushed the onert/python/add_optimizer_registry branch from 14128b2 to 2c8aa65 Compare January 22, 2025 04:53
@ragmani ragmani added PR/NO MERGE Please don't merge. I'm still working on this :) and removed PR/ready for review It is ready to review. Please review it. labels Jan 23, 2025
@ragmani ragmani added PR/ready for review It is ready to review. Please review it. and removed PR/NO MERGE Please don't merge. I'm still working on this :) labels Jan 23, 2025
Copy link
Contributor

@zetwhite zetwhite left a comment

Choose a reason for hiding this comment

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

LGTM

@hseok-oh hseok-oh merged commit b23a640 into Samsung:master Jan 23, 2025
18 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
PR/ready for review It is ready to review. Please review it.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants