Skip to content

Commit d2d671e

Browse files
committed
add comment
1 parent feed94e commit d2d671e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

python/paddle/fluid/inferencer.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ def __init__(self, infer_func, param_path, place=None, parallel=False):
3232
:param infer_func: a function that will return predict Variable
3333
:param param_path: the path where the inference model is saved by fluid.io.save_params
3434
:param place: place to do the inference
35+
:param parallel: use parallel_executor to run the inference, it will use multi CPU/GPU.
3536
"""
3637
self.param_path = param_path
3738
self.scope = core.Scope()

0 commit comments

Comments
 (0)