chop.passes.graph.analysis.init_metadata#
init_metadata_analysis_pass#
- chop.passes.graph.analysis.init_metadata.init_metadata_analysis_pass(graph, pass_args=None)[source]#
Initialise a MaseMetadata object for each node in the graph
- Parameters:
graph (MaseGraph) – a MaseGraph
pass_args (dict, optional) – arguments for this pass, this pass does not take any argumetns, defaults to None
pass_args is normally None for this pass
- Returns:
MaseGraph, pass info (empty in this case)
- Return type:
tuple(MaseGraph, dict)