DeepWok / mase

Machine-Learning Accelerator System Exploration Tools
Other
121 stars 54 forks source link

Unify Mase IR definition #216

Open pgimenes opened 3 months ago

pgimenes commented 3 months ago

Some information about Mase ops is spread across several places in the codebase.

This info should be unified and stored in chop.ir.common so there is a single source of truth about Mase ops and their info.

tolusuripavan commented 3 months ago

func_data and method_data dictionaries are located in chop.passes.graph.analysis.add_metadata.common_metadata_layers.

These dictionaries define the argument type (either "data_in" or "config") for each operator argument. This information is used by the argument metadata annotator.