def parse_step_config(model: onnx.ModelProto, config: dict):
    """Parse a single step with its config parameters."""
    assert len(config) == 1, "The config should only have one step name and its parameters."

    step_config_result = []
    for step_name, step_config in config.items():
        step_config_result.append((step_name, parse_step_params(model, step_config)))

    return step_config_result
Parse a single step with its config parameters.
olive/passes/onnx/pipeline/step_utils.py