Rate this Page

Struct BatchDataBuffer::UnwrappedBatchData#

Nested Relationships#

This struct is a nested type of Template Class BatchDataBuffer.

Struct Documentation#

struct UnwrappedBatchData#

struct that contains a raw unwrapped batch unit.

An unwrapped batch unit is the raw data without ‘optional’ wrapper. It can be a collection of images, utterances, e.t.c.

Public Functions

inline explicit UnwrappedBatchData(UnwrappedBatchType data)#
inline explicit UnwrappedBatchData(std::exception_ptr e)#

Public Members

UnwrappedBatchType batch_data#

batch data to return

std::exception_ptr exception#

exception pointer which captures any abnormal exceptions while creating the batch.