def METHOD_NAME(input_name: str, output_name: str, perm: list) -> str:
    permute_layer = "\"Permute {} 1 1 {} {} {} " .format(output_name, input_name, output_name, len(perm))
    for item in perm:
        permute_layer += "{} " .format(item)
    permute_layer += ",\"\n"
    return permute_layer