def tune_models(data):
    '\n    Auto tune all models referenced in the json configuration.\n    '
    target_string = data['target']
    tune_settings = data['autotuner_settings']
    for model in data['models']:
        (trace, input_shapes) = get_model(model['name'], model['type'])
        (mod, params) = relay.frontend.from_pytorch(trace, input_shapes)
        print(f"Tuning model {model['name']}, using strategy {tune_settings['tuner']}")
        tune_model(mod, params, tune_settings, target_string, model['name'])
Auto tune all models referenced in the json configuration.
def tune_models(data):
    '\n    \n    '
    target_string = data['target']
    tune_settings = data['autotuner_settings']
    for model in data['models']:
        (trace, input_shapes) = get_model(model['name'], model['type'])
        (mod, params) = relay.frontend.from_pytorch(trace, input_shapes)
        print(f"Tuning model {model['name']}, using strategy {tune_settings['tuner']}")
        tune_model(mod, params, tune_settings, target_string, model['name'])