#include <opennn/dataset/batch.h>
◆ BatchPrefetchSession() [1/2]
| opennn::BatchPrefetchSession::BatchPrefetchSession |
( |
ThreadSafeQueue< Batch * > & | , |
|
|
Index | batches_number ) |
◆ ~BatchPrefetchSession()
| opennn::BatchPrefetchSession::~BatchPrefetchSession |
( |
| ) |
|
◆ BatchPrefetchSession() [2/2]
◆ acquire()
| bool opennn::BatchPrefetchSession::acquire |
( |
Batch *& | batch | ) |
|
|
inline |
◆ add_worker()
template<typename Worker>
| void opennn::BatchPrefetchSession::add_worker |
( |
Worker && | worker | ) |
|
|
inline |
◆ capture_current_exception()
| void opennn::BatchPrefetchSession::capture_current_exception |
( |
| ) |
|
◆ claim_iteration()
| Index opennn::BatchPrefetchSession::claim_iteration |
( |
| ) |
|
|
inline |
◆ operator=()
◆ publish()
| bool opennn::BatchPrefetchSession::publish |
( |
Index | iteration, |
|
|
Batch * | batch ) |
◆ release()
| void opennn::BatchPrefetchSession::release |
( |
Batch * | batch | ) |
|
|
inline |
◆ rethrow_if_error()
| void opennn::BatchPrefetchSession::rethrow_if_error |
( |
| ) |
|
◆ wait()
| Batch * opennn::BatchPrefetchSession::wait |
( |
Index | iteration | ) |
|