Improve clarity for flattened graph inputs #9132
Labels
module: exir
Issues related to Export IR and the code under exir/
module: user experience
Issues related to reducing friction for users
triaged
This issue has been looked at a team member, and triaged and prioritized into an appropriate module
🚀 The feature, motivation and pitch
When passing complex model inputs, such as (nested) dictionaries, it can be a little unclear on the order of flattened inputs. This can be resolved by looking at the exported IR or program dump, but these aren't easy to parse without detailed knowledge of export/ET internals.
If such a thing doesn't already exist, it would be nice to provide a way for users to easily see what the expected input format is. Maybe printing the exported function signature? This could maybe be incorporated into the higher-level export API. Or as a verbose logging option when lowering? Implementation needs thinking through. Ideally, it would be easy for a user to understand what order to pass inputs at runtime without needing to dig into verbose, low-level info.
Alternatives
No response
Additional context
No response
RFC (Optional)
No response
cc @JacobSzwejbka @angelayi @mergennachin @byjlw
The text was updated successfully, but these errors were encountered: