Template Struct ConstructingFactory

Inheritance Relationships

Base Type

Struct Documentation

template<class Class>
struct ConstructingFactory : public marian::Factory

Simplest form of Factory that just passes on options to the constructor of a layer.

Public Functions

Ptr<Class> construct(Ptr<ExpressionGraph> graph)
Factory()
Factory(Ptr<Options> options)
template<typename T, typename ...Args>
Factory(const std::string &key, T value, Args&&... moreArgs)
template<typename ...Args>
Factory(Ptr<Options> options, Args&&... args)
Factory(const Factory &factory)