Open pgimenes opened 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.
Some information about Mase ops is spread across several places in the codebase.
func_data
andmethod_data
dictionaries inchop.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.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.