Struct BatchDataBuffer::UnwrappedBatchData

Nested Relationships

This struct is a nested type of Template Class BatchDataBuffer.

Struct Documentation

struct torch::data::datasets::detail::BatchDataBuffer::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

UnwrappedBatchData(UnwrappedBatchType data)
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.


Access comprehensive developer documentation for PyTorch

View Docs


Get in-depth tutorials for beginners and advanced developers

View Tutorials


Find development resources and get your questions answered

View Resources