Some information about Mase ops is spread across several places in the codebase.
- The
func_data and method_data dictionaries in chop.passes.graph.analysis.add_metadata.common_metadata_layers define the argument type ("data_in" or "config") for each operator argument, to be used by the argument metadata annotator.
- Others... (todo)
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.
Some information about Mase ops is spread across several places in the codebase.
func_dataandmethod_datadictionaries inchop.passes.graph.analysis.add_metadata.common_metadata_layersdefine the argument type ("data_in" or "config") for each operator argument, to be used by the argument metadata annotator.This info should be unified and stored in
chop.ir.commonso there is a single source of truth about Mase ops and their info.