Ai
1 Star 0 Fork 0

水兵/cpu-code

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
run.py 700 Bytes
一键复制 编辑 原始数据 按行查看 历史
Your Name 提交于 2021-10-18 10:55 +08:00 . analysize
# -*- coding: utf-8 -*-
import os
def file_name(file_dir):
lst = []
for root, dirs, files in os.walk(file_dir):
if ("sorted" in root):
lst.append(root)
return lst
pathList = file_name("/home/shbing/dataUse/datasets/bipartite/")
for path in pathList:
oriPath = path
newPath = path.replace("dataUse", "datasetsNew")
#print(oriPath, newPath)
name = newPath.split("/")[-2]
out = os.system(f"./butterfly.bin {newPath} run -1 {name} 32")
# for path in pathList:
# oriPath = path
# newPath = path.replace("dataUse", "datasetsNew")
# #print(oriPath, newPath)
# print(newPath)
# #a = os.system(f"./try {newPath}")
# #print(a)
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/Shbinging/cpu-code.git
git@gitee.com:Shbinging/cpu-code.git
Shbinging
cpu-code
cpu-code
master

搜索帮助