-
Notifications
You must be signed in to change notification settings - Fork 159
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 optimizer API #14543
base: master
Are you sure you want to change the base?
Conversation
This commit introduces optimizer API. - adam.py : Adam optimizer class - sgd.py : SGB optimizer class ONE-DCO-1.0-Signed-off-by: ragmani <[email protected]>
runtime/onert/api/python/package/experimental/train/optimizer/adam.py
Outdated
Show resolved
Hide resolved
""" | ||
Base class for optimizers. Subclasses should implement the `step` 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.
""" | |
Base class for optimizers. Subclasses should implement the `step` method. | |
""" | |
""" | |
Base class for optimizers. | |
""" |
Since step()
is deleted, this needs to be updated.
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.
@ragmani But I think this has to be fixed. That's why I didn't approve this PR yet.
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 commit introduces optimizer API.
ONE-DCO-1.0-Signed-off-by: ragmani [email protected]