-
#include "tensorstore/batch.h"
- class tensorstore::Batch;
Batch
provides a mechanism for defining a batch of asynchronous operations that will potentially be deferred until all references to the batch are released.For some operations, there are batch implementations there are batch implementations that reduce the number of separate I/O requests performed.
Types¶
- struct no_batch_t;
Tag type used for
no_batch
.
- class View;
Unowned reference to an optional batch.
Data members¶
- constexpr const no_batch_t no_batch = no_batch_t{};
Special value that indicates not to use a batch.
Methods¶
- bool deferred() const;
Returns
true
if this refers to a batch that has not yet been submitted.
- void Release();
Releases this reference to the batch.
Conversion operators¶
- explicit constexpr operator bool() const;
Returns
true
if this refers to a batch (as opposed tono_batch
).
Related Constants¶
-
constexpr const Batch::no_batch_t tensorstore::no_batch =
Batch::no_batch_t{}; Alias for indicating not to use a batch.