Caffe2 - C++ API
A deep learning, cross platform ML framework
Public Member Functions | Data Fields
torch::data::datasets::detail::BatchDataBuffer< UnwrappedBatch, ExampleSampler >::UnwrappedBatchData Struct Reference

struct that contains a raw unwrapped batch unit. More...

#include <chunk.h>

Public Member Functions

 UnwrappedBatchData (UnwrappedBatchType data)
 
 UnwrappedBatchData (std::exception_ptr e)
 

Data Fields

UnwrappedBatchType batch_data
 batch data to return
 
std::exception_ptr exception
 exception pointer which captures any abnormal exceptions while creating the batch. More...
 

Detailed Description

template<typename UnwrappedBatch = std::vector<Example<>>, typename ExampleSampler = samplers::RandomSampler>
struct torch::data::datasets::detail::BatchDataBuffer< UnwrappedBatch, ExampleSampler >::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.

Definition at line 199 of file chunk.h.

Field Documentation

template<typename UnwrappedBatch = std::vector<Example<>>, typename ExampleSampler = samplers::RandomSampler>
std::exception_ptr torch::data::datasets::detail::BatchDataBuffer< UnwrappedBatch, ExampleSampler >::UnwrappedBatchData::exception

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

Definition at line 209 of file chunk.h.


The documentation for this struct was generated from the following file: