iree-org / iree

A retargetable MLIR-based machine learning compiler and runtime toolkit.

Home Page:http://iree.dev/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Replace `--iree-opt-import-parameter-keys=` flag with regex filter.

benvanik opened this issue · comments

The current flag doesn't allow for specifying scopes (meaning that name conflicts in different scopes will cause issues) and is pretty verbose. Instead of an exact string mask we should support regex filters or patterns so that entire layers/etc can be imported without having to enumerate them all.

So something like:

  • --iree-opt-import-parameter=[scope=]key (repeated)
  • --iree-opt-import-parameter-filter=[scope=]regex (repeated)