There's more...

Let's say our minibatch has 100 samples and we specify queSize as 10; 1,000 samples will be prefetched every time. The memory requirement of the workspace depends on the size of the dataset, which arises from the underlying iterator. The workspace will be adjusted for varying memory requirements (for example, time series with varying lengths). Note that asynchronous iterators are internally supported by LinkedBlockingQueue. This queue data structure orders elements in First In First Out (FIFO) mode. Linked queues generally have more throughput than array-based queues in concurrent environments. 

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset