-
Notifications
You must be signed in to change notification settings - Fork 109
Constant-Folding Registry #2507
Copy link
Copy link
Open
Labels
category: questionA question about somethingA question about somethingcontribution welcomeWe welcome code contributions for thisWe welcome code contributions for thisgood first issueGood for newcomersGood for newcomersmodule: optimizer
Metadata
Metadata
Assignees
Labels
category: questionA question about somethingA question about somethingcontribution welcomeWe welcome code contributions for thisWe welcome code contributions for thisgood first issueGood for newcomersGood for newcomersmodule: optimizer
Authoring custom constant-folding for operators via the
registermethod inonnxscript.optimizer._constant_foldingfeels quite convenient (see #2506 for example) - are there any plans to properly expose this to the user to make constant folding customizable? I mean, it is already possible to simplyfrom onnxscript.optimizer._constant_folding import register, but this is importing from a protected memeber (at least the linter complains), so I guess it is not meant to be used this way, at least for now?