Class DataBatch

Inheritance Relationships

Base Type

Class Documentation

class DataBatch : public marian::data::Batch

Public Functions

std::vector<Input> &inputs()
const std::vector<Input> &inputs() const
void push_back(Input input)
virtual std::vector<Ptr<Batch>> split(size_t, size_t)
Data &features()
Data &labels()
size_t size() const
void setGuidedAlignment(std::vector<WordAlignment>&&)
void setDataWeights(const std::vector<float>&)