Class OutputFactory

Inheritance Relationships

Base Type

Class Documentation

class OutputFactory : public marian::mlp::LogitLayerFactory

Implementation of Output layer factory, can be used in a multi-layer network factory.

@TODO: In the long run, I hope we can get rid of the abstract factories altogether.

Public Functions

Accumulator<OutputFactory> tieTransposed(const std::string &tied)
void setShortlist(Ptr<data::Shortlist> shortlist)
Ptr<IUnaryLogitLayer> construct(Ptr<ExpressionGraph> graph)
OutputFactory clone()

Protected Attributes

std::string tiedTransposedName_
Ptr<data::Shortlist> shortlist_