Method
__init__
(self, batch_size, num_threads, device_id, _seed)
Source from the content-addressed store, hash-verified
| 556 | |
| 557 | class AsyncPipeline(Pipeline): |
| 558 | def __init__(self, batch_size, num_threads, device_id, _seed): |
| 559 | super().__init__( |
| 560 | batch_size, num_threads, device_id, seed=_seed, exec_async=True, exec_pipelined=True |
| 561 | ) |
| 562 | self.op = ops.PythonFunction(function=lambda: numpy.zeros([2, 2, 2])) |
| 563 | |
| 564 | def define_graph(self): |
| 565 | return self.op() |
Callers
nothing calls this directly
Tested by
no test coverage detected