Class EncoderDecoderCECost

Inheritance Relationships

Base Type

Class Documentation

class EncoderDecoderCECost : public marian::models::ICost

Public Functions

EncoderDecoderCECost(Ptr<Options> options)
virtual ~EncoderDecoderCECost()
Ptr<MultiRationalLoss> apply(Ptr<IModel> model, Ptr<ExpressionGraph> graph, Ptr<data::Batch> batch, bool clearGraph = true)

Protected Attributes

Ptr<Options> options_
const bool inference_ = {false}
bool toBeWeighted_ = {false}
Ptr<LabelwiseLoss> loss_
Ptr<WeightingBase> weighter_