Caffe2 - C++ API
A deep learning, cross platform ML framework
Public Types | Public Member Functions
torch::data::transforms::BatchTransform< InputBatch, OutputBatch > Class Template Referenceabstract

A transformation of a batch to a new batch. More...

#include <base.h>

Inheritance diagram for torch::data::transforms::BatchTransform< InputBatch, OutputBatch >:
torch::data::transforms::Stack< Example<> > torch::data::transforms::Stack< TensorExample >

Public Types

using InputBatchType = InputBatch
 
using OutputBatchType = OutputBatch
 

Public Member Functions

virtual OutputBatch apply_batch (InputBatch input_batch)=0
 Applies the transformation to the given input_batch.
 

Detailed Description

template<typename InputBatch, typename OutputBatch>
class torch::data::transforms::BatchTransform< InputBatch, OutputBatch >

A transformation of a batch to a new batch.

Definition at line 14 of file base.h.


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