MCPcopy Create free account
hub / github.com/NVIDIA/DALI / assert_scheduled_num

Function assert_scheduled_num

dali/test/python/test_pool.py:89–92  ·  view source on GitHub ↗
(context, num_tasks)

Source from the content-addressed store, hash-verified

87
88
89def assert_scheduled_num(context, num_tasks):
90 assert len(context.partially_received) == num_tasks
91 assert len(context.scheduled_minibatches) == num_tasks
92 assert len(context.task_queue) == num_tasks
93
94
95start_methods = ["fork", "spawn"]

Callers 2

Calls

no outgoing calls

Tested by

no test coverage detected