Skip to content

Cleanup some aspects of the Initializer class used by optimizers#2005

Merged
skottmckay merged 4 commits into
masterfrom
skottmckay/CleanupOptimizerInitializerClass
Oct 9, 2019
Merged

Cleanup some aspects of the Initializer class used by optimizers#2005
skottmckay merged 4 commits into
masterfrom
skottmckay/CleanupOptimizerInitializerClass

Conversation

@skottmckay
Copy link
Copy Markdown
Contributor

Description:
Move check on data type outside of the Initializer class as it's specific to Conv processing.
Use references for arguments that can't be null.

Motivation and Context
Check on types within the Initializer class was confusing as the logic is unrelated.
Use references for consistency with the rest of the code.

…ific to Conv processing.

Use references for arguments that can't be null.
@skottmckay skottmckay requested a review from kkaranasos October 4, 2019 05:54
@skottmckay skottmckay requested a review from a team as a code owner October 4, 2019 05:54
Comment thread onnxruntime/core/optimizer/utils.h Outdated
Copy link
Copy Markdown
Contributor

@kkaranasos kkaranasos left a comment

Choose a reason for hiding this comment

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

Only comment is about the name of the namespace and whether it should be unified with the transformer_utils. Other than that, looks good.

@skottmckay skottmckay merged commit db0dd09 into master Oct 9, 2019
@skottmckay skottmckay deleted the skottmckay/CleanupOptimizerInitializerClass branch October 9, 2019 00:37
yuslepukhin pushed a commit that referenced this pull request Mar 17, 2026
This commit adds optimum functions that are not exposed via optimum but
are required for optimum pass


cc: [@alexsu52](https://github.com/alexsu52)
[@MaximProshin](https://github.com/MaximProshin)
[@ynimmaga](https://github.com/ynimmaga)
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.

2 participants