提交 67ede534 编写于 作者: H HexToString

fix benchmark.py

上级 db3b1317
...@@ -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.
先完成此消息的编辑!
想要评论请 注册