提交 d2d671e3 编写于 作者: Q qiaolongfei

add comment

上级 feed94e2
...@@ -32,6 +32,7 @@ class Inferencer(object): ...@@ -32,6 +32,7 @@ class Inferencer(object):
:param infer_func: a function that will return predict Variable :param infer_func: a function that will return predict Variable
:param param_path: the path where the inference model is saved by fluid.io.save_params :param param_path: the path where the inference model is saved by fluid.io.save_params
:param place: place to do the inference :param place: place to do the inference
:param parallel: use parallel_executor to run the inference, it will use multi CPU/GPU.
""" """
self.param_path = param_path self.param_path = param_path
self.scope = core.Scope() self.scope = core.Scope()
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册