Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix docstring of prefetch queue depth #263

Merged
merged 1 commit into from Nov 1, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
7 changes: 4 additions & 3 deletions dali/python/nvidia/dali/pipeline.py
Expand Up @@ -61,9 +61,10 @@ class Pipeline(object):
Value of -1 does not impose a limit.
This parameter is currently unused (and behavior of
unrestricted number of streams is assumed).
`prefetch_queue_depth`: length of the executor pipeline. The longer the more resistant
the Dali is fo uneven execution time of each batch, but it also
consumes more memory for the internall buffers
`prefetch_queue_depth`: int, optional, default = 2
Depth of the executor pipeline. Deeper pipeline makes DALI
more resistant to uneven execution time of each batch, but it
also consumes more memory for internal buffers.
"""
def __init__(self, batch_size = -1, num_threads = -1, device_id = -1, seed = -1,
exec_pipelined=True, prefetch_queue_depth=2,
Expand Down