def METHOD_NAME():
    model_bin, model_xml = get_ir_paths(args.model, args.bin)
    if not os.path.exists(args.output_dir):
        os.makedirs(args.output_dir)
    ir_weights = collect_IR_weights(os.path.join(args.output_dir, "IR"), model_xml, model_bin, args.num_layers)
    with open(args.config, encoding="utf8") as f:
        config = json.load(f)
    torch_weights = collect_torch_weights(os.path.join(args.output_dir, "PTH"), config, args.num_layers)
    assert len(ir_weights) == len(torch_weights), "{} vs {}".format(len(ir_weights), len(torch_weights))
    print("Maximum of absolute difference - IR vs Torch")
    max_max = []
    for (k1, v1), (k2, v2) in zip(ir_weights.items(), torch_weights.items()):
        max_diff = abs(v1 - v2).max()
        max_max.append(max_diff)
        print("{0:.5} - max diff [{1:}]  vs  [{2:}]".format(max_diff, k1, k2))
    print("Global maximum:  {0:.5}".format(np.max(max_max)))