未验证 提交 8aee3eaa 编写于 作者: T TeslaZhao 提交者: GitHub

Merge pull request #1185 from HexToString/benchmark_merge

fix benchmark.py
...@@ -70,7 +70,8 @@ def single_func(idx, resource): ...@@ -70,7 +70,8 @@ def single_func(idx, resource):
os.getpid(), os.getpid(),
int(round(b_start * 1000000)), int(round(b_start * 1000000)),
int(round(b_end * 1000000)))) int(round(b_end * 1000000))))
result = client.predict(feed=feed_batch, fetch=fetch) result = client.predict(
feed=feed_batch, fetch=fetch, batch=True)
l_end = time.time() l_end = time.time()
if latency_flags: if latency_flags:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册